Add restarting commands to all example docker compose files
This commit is contained in:
parent
f0b1de5ec6
commit
292c815000
1 changed files with 4 additions and 0 deletions
|
@ -190,6 +190,7 @@ services:
|
||||||
MYSQL_DATABASE: vikunja
|
MYSQL_DATABASE: vikunja
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/var/lib/mysql
|
- ./db:/var/lib/mysql
|
||||||
|
restart: unless-stopped
|
||||||
api:
|
api:
|
||||||
image: vikunja/api
|
image: vikunja/api
|
||||||
environment:
|
environment:
|
||||||
|
@ -202,8 +203,10 @@ services:
|
||||||
- ./files:/app/vikunja/files
|
- ./files:/app/vikunja/files
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
restart: unless-stopped
|
||||||
frontend:
|
frontend:
|
||||||
image: vikunja/frontend
|
image: vikunja/frontend
|
||||||
|
restart: unless-stopped
|
||||||
proxy:
|
proxy:
|
||||||
image: nginx
|
image: nginx
|
||||||
ports:
|
ports:
|
||||||
|
@ -213,4 +216,5 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- api
|
- api
|
||||||
- frontend
|
- frontend
|
||||||
|
restart: unless-stopped
|
||||||
{{< /highlight >}}
|
{{< /highlight >}}
|
||||||
|
|
Loading…
Reference in a new issue