Fix nextcloud db healthcheck

This commit is contained in:
Florian Zirker 2023-11-02 14:09:36 +01:00
parent ca48479673
commit f3bb2bf0db

View file

@ -131,7 +131,7 @@ services:
- nextcloud
- mariadb
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
test: ["CMD", "mysqladmin" ,"--user" ,"$MYSQL_USER" ,"--password=$MYSQL_PASSWORD" ,"ping" ,"-h" ,"localhost"]
interval: 20s
timeout: 3s
labels: