diff --git a/docker-compose.yml b/docker-compose.yml index 0a2a793..18a5ef6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: depends_on: # ⬅️ New addition: wait until postgres is started - postgres healthcheck: - test: [ "CMD-SHELL", "curl -k -f https://localhost:8000/openapi.json || exit 1" ] + test: [ "CMD-SHELL", "curl -k -f https://localhost:${PORT}/openapi.json || exit 1" ] interval: 5s timeout: 5s retries: 5