mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-25 17:46:32 -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
|
```ini
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Docker Compose Application Service
|
Description=Docker Compose Application Service
|
||||||
Requires=docker.service
|
Requires=network.target docker.service
|
||||||
After=docker.service
|
After=network.target docker.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -23,7 +23,7 @@ User=brandonrozek
|
||||||
Group=brandonrozek
|
Group=brandonrozek
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
WorkingDirectory=/home/brandonrozek/docker/
|
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
|
ExecStop=/usr/bin/docker-compose down
|
||||||
TimeoutStartSec=0
|
TimeoutStartSec=0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue