Skip to content

Commit 3ad4507

Browse files
committed
chore: force healthcheck
1 parent f38eb24 commit 3ad4507

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎docker-compose.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ services:
6666
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: anon
6767
HASURA_GRAPHQL_ENABLE_TELEMETRY: "false"
6868
# HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
69+
healthcheck:
70+
test: ["CMD", "curl", "-k", "http://127.0.0.1:8080/healthz"]
71+
interval: 30s
72+
timeout: 10s
73+
retries: 2
74+
start_period: 30s
75+
start_interval: 5s
6976

7077
volumes:
7178
pg_data:

0 commit comments

Comments
 (0)