Browse Source

fixed missing MYSQL_ROOT_PASSWORD variable

admin 3 months ago
parent
commit
04a04c486b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docker-compose.yml

+ 2 - 0
docker-compose.yml

@@ -8,6 +8,8 @@ services:
        - ./data/mysql:/var/lib/mysql/
        - ./data/backup:/mnt/backup
      restart: on-failure:3
+     environment:
+       MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
 
 networks:
    db_default: