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:
@@ -14,6 +14,16 @@ services:
|
||||
volumes:
|
||||
- nextcloud_data:/var/www/html
|
||||
- /opt/media/storagebox/nextcloud:/mnt/storagebox
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"timeout 10 ls /mnt/storagebox >/dev/null 2>&1 || exit 1"
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 15s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
environment:
|
||||
- NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN}
|
||||
- MYSQL_HOST=nextcloud_db
|
||||
|
||||
Reference in New Issue
Block a user