mirror of
https://github.com/fantasticit/think.git
synced 2026-10-30 22:56:06 +08:00
Update docker-compose.yml
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ services:
|
||||
container_name: mysql-with-think
|
||||
#restart: always
|
||||
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:
|
||||
- TZ=Asia/Shanghai
|
||||
- MYSQL_ROOT_PASSWORD=Jonnyan404!
|
||||
|
||||
Reference in New Issue
Block a user