drobne
This commit is contained in:
@@ -3,7 +3,7 @@ services:
|
||||
build: .
|
||||
container_name: zbiorka-app
|
||||
ports:
|
||||
- "${APP_PORT:-8080}:8080"
|
||||
- "${APP_PORT:-8080}:${APP_PORT}"
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; import sys; req = urllib.request.Request('http://localhost:8080/healthcheck', headers={'X-Internal-Check': '${HEALTHCHECK_TOKEN}'}); sys.exit(0) if urllib.request.urlopen(req).read() == b'OK' else sys.exit(1)"]
|
||||
interval: 30s
|
||||
|
Reference in New Issue
Block a user