backup
This commit is contained in:
@@ -70,7 +70,7 @@ services:
|
||||
volumes:
|
||||
- ../backend/app:/app/app:z
|
||||
- ../fail2ban-master:/app/fail2ban-master:ro,z
|
||||
- bangui-dev-data:/data
|
||||
- ../data:/data
|
||||
- fail2ban-dev-run:/var/run/fail2ban:ro
|
||||
- ./fail2ban-dev-config:/config:rw
|
||||
ports:
|
||||
@@ -82,7 +82,7 @@ services:
|
||||
"--reload", "--reload-dir", "/app/app"
|
||||
]
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "python -c 'import urllib.request; urllib.request.urlopen(\"http://127.0.0.1:8000/api/health\", timeout=4)'"]
|
||||
test: ["CMD-SHELL", "python -c 'import urllib.request; urllib.request.urlopen(\"http://127.0.0.1:8000/api/v1/health/live\", timeout=4)'"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
start_period: 45s
|
||||
|
||||
Reference in New Issue
Block a user