A local-first personal finance app
Add health check to docker compose (#546)
Luca Fenu5ada00cf977f
diff --git a/docker-compose.yml b/docker-compose.ymlindex 424844e4a1..376ecfa3af 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -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: 20srestart: unless-stoppeddiff --git a/upcoming-release-notes/546.md b/upcoming-release-notes/546.mdnew file mode 100644index 0000000000..4ca7cb84ee--- /dev/null+++ b/upcoming-release-notes/546.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [Knocks83]+---++Add health check section to the existing `docker-compose.yml` file.