1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00

Add restart unless-stopped

This commit is contained in:
Mo 2022-11-19 15:54:28 +01:00
parent 0a88cb18e8
commit 42feee1917
2 changed files with 3 additions and 0 deletions

View file

@ -2,6 +2,7 @@ services:
advlabdb:
build: .
contianer_name: advlabdb
restart: unless-stopped
volumes:
- ~/volumes/advlabdb/data:/volumes/data:Z
- ~/volumes/advlabdb/logs:/volumes/logs:Z
@ -13,6 +14,7 @@ services:
nginx:
image: docker.io/library/nginx:alpine
container_name: advlabdb_nginx
restart: unless-stopped
volumes:
- ~/volumes/advlabdb/nginx/conf.d:/etc/nginx/conf.d:Z,ro
environment:

View file

@ -2,6 +2,7 @@ services:
traefik:
image: docker.io/library/traefik:latest
container_name: traefik
restart: unless-stopped
volumes:
- ~/volumes/traefik/etc:/etc/traefik:Z,ro
- ~/volumes/traefik/logs:/volumes/logs:Z