mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Merge branch 'master' into dev
This commit is contained in:
commit
7d6d641827
@ -289,4 +289,4 @@ And run the following commands to restart Harbor:
|
|||||||
$ sudo docker-compose down
|
$ sudo docker-compose down
|
||||||
$ sudo ./prepare
|
$ sudo ./prepare
|
||||||
$ sudo docker-compose up -d
|
$ sudo docker-compose up -d
|
||||||
```
|
```
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
container_name: harbor-log
|
container_name: harbor-log
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/log/harbor/:/var/log/docker/
|
- /var/log/harbor/:/var/log/docker/:z
|
||||||
ports:
|
ports:
|
||||||
- 1514:514
|
- 1514:514
|
||||||
networks:
|
networks:
|
||||||
@ -15,8 +15,8 @@ services:
|
|||||||
container_name: registry
|
container_name: registry
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/registry:/storage
|
- /data/registry:/storage:z
|
||||||
- ./common/config/registry/:/etc/registry/
|
- ./common/config/registry/:/etc/registry/:z
|
||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
environment:
|
environment:
|
||||||
@ -35,7 +35,7 @@ services:
|
|||||||
container_name: harbor-db
|
container_name: harbor-db
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/database:/var/lib/mysql
|
- /data/database:/var/lib/mysql:z
|
||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
env_file:
|
env_file:
|
||||||
@ -73,10 +73,10 @@ services:
|
|||||||
- ./common/config/ui/env
|
- ./common/config/ui/env
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./common/config/ui/app.conf:/etc/ui/app.conf
|
- ./common/config/ui/app.conf:/etc/ui/app.conf:z
|
||||||
- ./common/config/ui/private_key.pem:/etc/ui/private_key.pem
|
- ./common/config/ui/private_key.pem:/etc/ui/private_key.pem:z
|
||||||
- /data/secretkey:/etc/ui/key
|
- /data/secretkey:/etc/ui/key:z
|
||||||
- /data/ca_download/:/etc/ui/ca/
|
- /data/ca_download/:/etc/ui/ca/:z
|
||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -95,9 +95,9 @@ services:
|
|||||||
- ./common/config/jobservice/env
|
- ./common/config/jobservice/env
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/job_logs:/var/log/jobs
|
- /data/job_logs:/var/log/jobs:z
|
||||||
- ./common/config/jobservice/app.conf:/etc/jobservice/app.conf
|
- ./common/config/jobservice/app.conf:/etc/jobservice/app.conf:z
|
||||||
- /data/secretkey:/etc/jobservice/key
|
- /data/secretkey:/etc/jobservice/key:z
|
||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -113,7 +113,7 @@ services:
|
|||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./common/config/nginx:/etc/nginx
|
- ./common/config/nginx:/etc/nginx:z
|
||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user