healthcheck added to all compose files that contain storagebox or seedbox

This commit is contained in:
jonas@geiger-natur.de
2026-10-11 14:53:23 +02:00
parent e779440ef7
commit 723bbb620d
8 changed files with 85 additions and 4 deletions
+10
View File
@@ -13,6 +13,16 @@ services:
- rclone.storage=storagebox-crypt
volumes:
- /opt/media/storagebox/firefly/upload:/var/www/html/storage/upload
healthcheck:
test:
[
"CMD-SHELL",
"timeout 10 ls /var/www/html/storage/upload >/dev/null 2>&1 || exit 1"
]
interval: 30s
timeout: 15s
retries: 3
start_period: 60s
environment:
SITE_OWNER: ${SITE_OWNER}
DB_CONNECTION: ${DB_CONNECTION}