mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-21 16:19:21 +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
|
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:
|
||||||
|
@ -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 harbor-migration
|
|
||||||
|
|
||||||
|
```
|
||||||
|
cd migration
|
||||||
|
```
|
||||||
|
- step 2: change `db_username`, `db_password`, `db_port`, `db_name` in migration.cfg
|
||||||
|
- step 3: build image from dockerfile
|
||||||
|
|
||||||
|
```
|
||||||
docker build -t migrate-tool .
|
docker build -t migrate-tool .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user