Skip to content

Commit

Permalink
Add health check to docker compose (#546)
Browse files Browse the repository at this point in the history
* Add health check to docker compose

* Added release note for PR

* Readded the mistakenly-deleted array to the release note author
  • Loading branch information
Knocks83 authored Jan 22, 2025
1 parent 0f2226e commit 5ada00c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions upcoming-release-notes/546.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [Knocks83]
---

Add health check section to the existing `docker-compose.yml` file.

0 comments on commit 5ada00c

Please sign in to comment.