1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +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: advlabdb:
build: . build: .
contianer_name: advlabdb contianer_name: advlabdb
restart: unless-stopped
volumes: volumes:
- ~/volumes/advlabdb/data:/volumes/data:Z - ~/volumes/advlabdb/data:/volumes/data:Z
- ~/volumes/advlabdb/logs:/volumes/logs:Z - ~/volumes/advlabdb/logs:/volumes/logs:Z
@ -13,6 +14,7 @@ services:
nginx: nginx:
image: docker.io/library/nginx:alpine image: docker.io/library/nginx:alpine
container_name: advlabdb_nginx container_name: advlabdb_nginx
restart: unless-stopped
volumes: volumes:
- ~/volumes/advlabdb/nginx/conf.d:/etc/nginx/conf.d:Z,ro - ~/volumes/advlabdb/nginx/conf.d:/etc/nginx/conf.d:Z,ro
environment: environment:

View file

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