mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-21 08:07:59 +01:00
Merge pull request #433 from reasonerjt/job-service
update README for data migration tool
This commit is contained in:
commit
760a91693b
@ -61,6 +61,8 @@ services:
|
||||
dockerfile: Dockerfile.job
|
||||
env_file:
|
||||
- ./config/jobservice/env
|
||||
volumes:
|
||||
- /data/job_logs:/var/log/jobs
|
||||
depends_on:
|
||||
- ui
|
||||
logging:
|
||||
|
@ -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 .
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user