mirror of https://github.com/fantasticit/think.git
Update docker-compose.yml
This commit is contained in:
parent
5b1e1a6599
commit
6d8d1e73d2
|
@ -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!
|
||||||
|
|
Loading…
Reference in New Issue