diff --git a/docker-compose.yml b/docker-compose.yml index 73e7a7c00bc..06e85b68398 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,7 @@ services: volumes: - mysql-storage:/var/lib/mysql restart: always + container_name: lakeMYSQL ports: - 127.0.0.1:3306:3306 environment: @@ -34,6 +35,8 @@ services: restart: always volumes: - ./.env:/app/.env + environment: + - DB_URL=merico:merico@tcp(lakeMYSQL:3306)/lake?charset=utf8mb4&parseTime=True depends_on: - grafana config-ui: