add key in the request
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user