diff --git a/docker-compose.yml b/docker-compose.yml index 2742af5..2dfa346 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: - API_PORT=8080 restart: unless-stopped healthcheck: - test: [ "CMD", "curl", "-f", "http://localhost:8080/api/beta_testing" ] + test: [ "CMD", "curl", "-H", "X-API-Key: ${API_KEY}", "-f", "http://localhost:8080/api/beta_testing" ] interval: 10s timeout: 5s retries: 5