update docker compose yml

This commit is contained in:
BryantHe 2023-06-30 03:57:10 +08:00
parent 97f5c052f5
commit 83c7804484
1 changed files with 2 additions and 2 deletions

View File

@ -10,9 +10,9 @@ services:
volumes: volumes:
- mysql_data:/var/lib/mysql - mysql_data:/var/lib/mysql
environment: environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root} - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-mysql3306}
- MYSQL_USER=user - MYSQL_USER=user
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-user} - MYSQL_PASSWORD=${MYSQL_PASSWORD:-mysql3306}
restart: always restart: always