add key in the request
This commit is contained in:
@@ -19,7 +19,7 @@ services:
|
|||||||
- API_PORT=8080
|
- API_PORT=8080
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
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
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user