fix: Add MYSQL_PWD environment variable for database healthcheck

- Fixes MariaDB container healthcheck authentication failures
- Adds MYSQL_PWD environment variable so healthcheck script can authenticate
- Resolves 'Access denied for user root@localhost' warnings
- Ensures database container properly reports healthy status
This commit is contained in:
Quality App Developer
2026-01-04 22:20:47 +02:00
parent 749c461d63
commit 77463c1c47

View File

@@ -21,6 +21,8 @@ services:
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_INNODB_BUFFER_POOL_SIZE: ${MYSQL_BUFFER_POOL}
MYSQL_MAX_CONNECTIONS: ${MYSQL_MAX_CONNECTIONS}
# Healthcheck authentication
MYSQL_PWD: ${MYSQL_ROOT_PASSWORD}
ports:
- "${DB_PORT}:3306"