add key in the request

This commit is contained in:
2026-01-03 00:29:30 +05:30
parent ceb9bd3f8b
commit 5aac40b137

View File

@@ -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