Skip to content

Commit

Permalink
Made prefect-server docker healthcheck more lenient
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogsilva committed Dec 5, 2024
1 parent cf0d3ad commit 3b69e0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ x-postgres-db-healthcheck: &postgres-db-healthcheck
x-prefect-server-healthcheck: &prefect-server-healthcheck
interval: 10s
timeout: 3s
start_period: 1m
retries: 10
interval: 20s
timeout: 5s
start_period: 3m
retries: 20
test: |
status=$$(python -c 'import httpx; print(httpx.get("http://127.0.0.1:4200/api/health").status_code)')
if [ $${status} = '200' ];
Expand Down

0 comments on commit 3b69e0f

Please sign in to comment.