Use DB_PASS for root and regular password

This commit is contained in:
Jason Streifling 2025-01-24 20:10:32 +01:00
parent 57953b2cfd
commit 11d836dd26

View File

@ -9,13 +9,17 @@ services:
- /var/log/cpolis.log:/var/log/cpolis.log
depends_on:
- db
environment:
DB_USER: cpolis
DB_PASS: ${DB_PASS}
db:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASS}
MYSQL_DATABASE: cpolis
MYSQL_USER: cpolis
MYSQL_PASSWORD: ${DB_PASS}
MYSQL_PASSWORD: ${DB_PASS}
ports:
- "3306:3306"
volumes: