Skip to content

Commit

Permalink
ci: wait container
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Sep 19, 2023
1 parent f523748 commit dbd407b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ services:
condition: service_started
postgres:
condition: service_started
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5
environment:
postgres_host: postgres
postgres_user: graph-node
Expand Down

0 comments on commit dbd407b

Please sign in to comment.