mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
Update README.md
This commit is contained in:
parent
266d584a1c
commit
8153211842
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user