Add restarting commands to all example docker compose files

This commit is contained in:
kolaente 2020-05-23 19:34:44 +02:00
parent f0b1de5ec6
commit 292c815000
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -190,6 +190,7 @@ services:
MYSQL_DATABASE: vikunja
volumes:
- ./db:/var/lib/mysql
restart: unless-stopped
api:
image: vikunja/api
environment:
@ -202,8 +203,10 @@ services:
- ./files:/app/vikunja/files
depends_on:
- db
restart: unless-stopped
frontend:
image: vikunja/frontend
restart: unless-stopped
proxy:
image: nginx
ports:
@ -213,4 +216,5 @@ services:
depends_on:
- api
- frontend
restart: unless-stopped
{{< /highlight >}}