Add health check to docker compose (#546)

* Add health check to docker compose

* Added release note for PR

* Readded the mistakenly-deleted array to the release note author
This commit is contained in:
Luca Fenu
2025-01-22 09:50:27 +01:00
committed by GitHub
parent 0f2226e993
commit 5ada00cf97
2 changed files with 13 additions and 0 deletions

View File

@@ -19,4 +19,11 @@ services:
# Change './actual-data' below to the path to the folder you want Actual to store its data in on your server.
# '/data' is the path Actual will look for its files in by default, so leave that as-is.
- ./actual-data:/data
healthcheck:
# Enable health check for the instance
test: ["CMD-SHELL", "node src/scripts/health-check.js"]
interval: 60s
timeout: 10s
retries: 3
start_period: 20s
restart: unless-stopped

View File

@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [Knocks83]
---
Add health check section to the existing `docker-compose.yml` file.