mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-10-28 21:00:47 +00:00
healthcheck added to all compose files that contain storagebox or seedbox
This commit is contained in:
@@ -21,6 +21,16 @@ services:
|
||||
volumes:
|
||||
- /opt/media/storagebox/paperless/consume:/home/node/paperless/consume:rw
|
||||
- n8n_data:/home/node/.n8n
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"timeout 10 ls /home/node/paperless/consume >/dev/null 2>&1 || exit 1"
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 15s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
|
||||
Reference in New Issue
Block a user