diff --git a/infmap/docker-compose.yml b/infmap/docker-compose.yml index 504702d..76f7fcd 100644 --- a/infmap/docker-compose.yml +++ b/infmap/docker-compose.yml @@ -11,6 +11,12 @@ services: - ${CONFIG_PATH}/infrastructure.conf:/app/infrastructure.conf:ro - app_data:/app/data restart: unless-stopped + healthcheck: + test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/')"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 15s volumes: app_data: