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 dockerfile: Dockerfile.job
env_file: env_file:
- ./config/jobservice/env - ./config/jobservice/env
volumes:
- /data/job_logs:/var/log/jobs
depends_on: depends_on:
- ui - ui
logging: 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 **WARNING!!** You must backup your data before migrating
###Installation ###Installation
- step 1: change `db_username`, `db_password`, `db_port`, `db_name` in migration.cfg - step 1:
- step 2: build image from dockerfile
```
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 . docker build -t migrate-tool .
``` ```