added healthchecks and removed exposed password from compose.yaml
This commit is contained in:
@@ -13,6 +13,12 @@ services:
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "3"
|
||||
healthcheck:
|
||||
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/', timeout=5)"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
networks:
|
||||
reverse_proxy_default:
|
||||
external: true
|
||||
Reference in New Issue
Block a user