Add restarting commands to all example docker compose files
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-05-23 19:34:44 +02:00
parent f0b1de5ec6
commit 292c815000
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 0 deletions

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 >}}