Merge pull request #185 from copenhagentruckwash/fix-mysql-debug-exposure-vulnerability

Harden mysql-debug compose service configuration
This commit is contained in:
Jeppe B
2026-06-01 22:09:46 +02:00
committed by GitHub
+2 -1
View File
@@ -101,8 +101,9 @@ services:
mysql-debug:
image: mysql:8.4
container_name: mysql-debug
profiles: [dev]
environment:
MYSQL_ROOT_PASSWORD: ${CONFIG_DB_DEBUG_PASSWORD:-debug_root_password}
MYSQL_ROOT_PASSWORD: ${CONFIG_DB_DEBUG_PASSWORD:?CONFIG_DB_DEBUG_PASSWORD is required for mysql-debug}
MYSQL_DATABASE: ${CONFIG_DB_DEBUG_DATABASE:-nnks_db_debug}
ports:
- "3307:3306"