Update README.md

This commit is contained in:
saga92 2016-05-13 18:08:52 +08:00
parent 266d584a1c
commit 8153211842

View File

@ -38,6 +38,7 @@ Migration is a module for migrating database schema between different version of
```docker run -ti -v /data/database:/var/lib/mysql your-image-name up head``` ```docker run -ti -v /data/database:/var/lib/mysql your-image-name up head```
you can use `-v /etc/localtime:/etc/localtime` to sync container timezone with host timezone. you can use `-v /etc/localtime:/etc/localtime` to sync container timezone with host timezone.
you may change `/data/database` to the mysql volumes path you set in docker-compose.yml. you may change `/data/database` to the mysql volumes path you set in docker-compose.yml.
###migration step ###migration step
- step 1: stop and remove harbor service - step 1: stop and remove harbor service