diff --git a/Deploy/docker-compose.yml b/Deploy/docker-compose.yml index 5d2f359b4..69e027efc 100644 --- a/Deploy/docker-compose.yml +++ b/Deploy/docker-compose.yml @@ -61,6 +61,8 @@ services: dockerfile: Dockerfile.job env_file: - ./config/jobservice/env + volumes: + - /data/job_logs:/var/log/jobs depends_on: - ui logging: diff --git a/migration/README.md b/migration/README.md index ee1b12dcb..454642c05 100644 --- a/migration/README.md +++ b/migration/README.md @@ -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 . ```