Fix: DB healthcheck use DB_ROOT_PASSWORD

main
boban 2026-04-18 23:28:09 +02:00
parent 5bcc381c87
commit 28fcd48a06
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ services:
volumes: volumes:
- ./db_data:/var/lib/mysql - ./db_data:/var/lib/mysql
healthcheck: healthcheck:
test: ["CMD-SHELL", "mariadb-admin ping -h localhost -u root -p$$MARIADB_ROOT_PASSWORD || exit 1"] test: ["CMD-SHELL", "mariadb-admin ping -h localhost -u root -p$$DB_ROOT_PASSWORD || exit 1"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 20 retries: 20