Skip to content

Commit

Permalink
Add healthcheck to docker-compose.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielballan committed Dec 12, 2024
1 parent 6a8e600 commit dec7902
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ services:
ports:
- 8000:8000
restart: unless-stopped
healthcheck:
test: curl --fail http://localhost:8000/healthz || exit 1
interval: 60s
timeout: 10s
retries: 3
start_period: 30s

# Below we additionally configure monitoring with Prometheus and Grafana.
# This is optional; it is not required for Tiled to function.
Expand Down

0 comments on commit dec7902

Please sign in to comment.