Change the mysql volume.

This commit is contained in:
hxsherry
2018-01-29 23:44:24 +08:00
parent ee8b2d816b
commit 70393639d9

View File

@ -4,7 +4,7 @@ services:
db:
image: mysql:5.7
volumes:
- ~/data/mysql:/data/log
- ~/data/mysql:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: tank123