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:
parent
0a88cb18e8
commit
42feee1917
2 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue