fix healthcheck of nextcloud db

This commit is contained in:
Florian Zirker 2024-12-23 15:12:10 +01:00
parent b343d7660d
commit 0587f0e56a

View file

@ -111,9 +111,12 @@ services:
- nextcloud - nextcloud
- mariadb - mariadb
healthcheck: healthcheck:
test: ["CMD", "mysqladmin" ,"--user" ,"$MYSQL_USER" ,"--password=$MYSQL_PASSWORD" ,"ping" ,"-h" ,"localhost"] test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ]
interval: 20s start_period: 1m
timeout: 3s start_interval: 10s
interval: 1m
timeout: 5s
retries: 3
labels: labels:
- "docker.group=netxtcloud" - "docker.group=netxtcloud"