mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-22 00:06:29 -05:00
Updated post to address network namespace bug
This commit is contained in:
parent
eb301db693
commit
715c4fce26
1 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@ To compensate, I wrote a small systemd script and enabled it on startup.
|
|||
```ini
|
||||
[Unit]
|
||||
Description=Docker Compose Application Service
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
Requires=network.target docker.service
|
||||
After=network.target docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -23,7 +23,7 @@ User=brandonrozek
|
|||
Group=brandonrozek
|
||||
RemainAfterExit=yes
|
||||
WorkingDirectory=/home/brandonrozek/docker/
|
||||
ExecStart=/usr/bin/docker-compose up -d
|
||||
ExecStart=/usr/bin/docker-compose up -d --force-recreate
|
||||
ExecStop=/usr/bin/docker-compose down
|
||||
TimeoutStartSec=0
|
||||
|
||||
|
|
Loading…
Reference in a new issue