Use DB_PASS for root and regular password
This commit is contained in:
parent
57953b2cfd
commit
11d836dd26
@ -9,10 +9,14 @@ services:
|
|||||||
- /var/log/cpolis.log:/var/log/cpolis.log
|
- /var/log/cpolis.log:/var/log/cpolis.log
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
environment:
|
||||||
|
DB_USER: cpolis
|
||||||
|
DB_PASS: ${DB_PASS}
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
environment:
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: ${DB_PASS}
|
||||||
MYSQL_DATABASE: cpolis
|
MYSQL_DATABASE: cpolis
|
||||||
MYSQL_USER: cpolis
|
MYSQL_USER: cpolis
|
||||||
MYSQL_PASSWORD: ${DB_PASS}
|
MYSQL_PASSWORD: ${DB_PASS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user