mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 10:33:02 -05:00
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:
@@ -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
upcoming-release-notes/546.md
Normal file
6
upcoming-release-notes/546.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Enhancements
|
||||
authors: [Knocks83]
|
||||
---
|
||||
|
||||
Add health check section to the existing `docker-compose.yml` file.
|
||||
Reference in New Issue
Block a user