diff --git a/docker-compose.yml b/docker-compose.yml index 9e7846a..f536d46 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: