mirror of
https://github.com/skoelle/icloud-contacts-sync.git
synced 2026-09-17 23:40:24 +00:00
web api healthcheck
This commit is contained in:
@@ -56,6 +56,12 @@ services:
|
||||
# Nur lokal an localhost gebunden: der eigentliche externe Zugriff läuft
|
||||
# über deinen Reverse-Proxy mit Authelia (auth_request), der intern auf
|
||||
# diesen Port weiterleitet und den Remote-User-Header setzt.
|
||||
healthcheck:
|
||||
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/health')"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 10s
|
||||
retries: 3
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
|
||||
Reference in New Issue
Block a user