diff --git a/docker-compose.yml b/docker-compose.yml index 693b623..c964522 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,12 @@ services: volumes: - viewer-data:/data restart: unless-stopped + healthcheck: + test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:5000/')"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 15s # Attach to your nginx Proxy Manager network (uncomment and set name): # networks: # - npm