Skip to content

Commit

Permalink
💊 Merge pull request #828 from danielballan/docker-compose-healthcheck
Browse files Browse the repository at this point in the history
Add healthcheck to docker-compose.
  • Loading branch information
Kezzsim authored Dec 12, 2024
2 parents 6a8e600 + 4efda3b commit 216c7b6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ Write the date in place of the "Unreleased" in the case a new version is release

# Changelog

## Unreleased

### Added

- `docker-compose.yml` now uses the healthcheck endpoint `/healthz`

## 2024-12-09

### Added
Expand Down
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 216c7b6

Please sign in to comment.