Merge pull request #433 from reasonerjt/job-service

update README for data migration tool
This commit is contained in:
Daniel Jiang 2016-06-28 18:10:54 +08:00 committed by GitHub
commit 760a91693b
2 changed files with 10 additions and 4 deletions

View File

@ -61,6 +61,8 @@ services:
dockerfile: Dockerfile.job
env_file:
- ./config/jobservice/env
volumes:
- /data/job_logs:/var/log/jobs
depends_on:
- ui
logging:

View File

@ -6,11 +6,15 @@ This module is for those machine running Harbor's old version, such as 0.1.0. If
**WARNING!!** You must backup your data before migrating
###Installation
- step 1: change `db_username`, `db_password`, `db_port`, `db_name` in migration.cfg
- step 2: build image from dockerfile
- step 1:
```
cd migration
```
- step 2: change `db_username`, `db_password`, `db_port`, `db_name` in migration.cfg
- step 3: build image from dockerfile
```
cd harbor-migration
docker build -t migrate-tool .
```