Update docker-compose.yml

This commit is contained in:
jonny 2022-05-22 19:00:25 +08:00 committed by GitHub
parent 5b1e1a6599
commit 6d8d1e73d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ services:
container_name: mysql-with-think container_name: mysql-with-think
#restart: always #restart: always
volumes: volumes:
- /path/to/you/dir:/var/lib/mysql # 请注意修改 /path/to/you/dir 为您要存储mysql数据的目录绝对路径. - /path/to/you/dir/mysql:/var/lib/mysql # 请注意修改 /path/to/you/dir 为您要存储mysql数据的目录绝对路径.
environment: environment:
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
- MYSQL_ROOT_PASSWORD=Jonnyan404! - MYSQL_ROOT_PASSWORD=Jonnyan404!