Update harbor to 2.6.

This commit is contained in:
2022-10-21 09:54:11 +02:00
parent 76b061dd83
commit 0fb1028a49
12 changed files with 79 additions and 169 deletions

View File

@@ -95,7 +95,7 @@ services:
volumes:
- /data/database:/var/lib/postgresql/data:z
networks:
- harbor
harbor:
env_file:
- ./common/config/db/env
depends_on:
@@ -108,7 +108,7 @@ services:
shm_size: '1gb'
core:
image: goharbor/harbor-core:v2.6.1
container_name: core
container_name: harbor-core
env_file:
- ./common/config/core/env
restart: always
@@ -134,12 +134,12 @@ services:
source: ./common/config/shared/trust-certificates
target: /harbor_cust_cert
networks:
- harbor
harbor:
depends_on:
- log
- registry
- redis
- harbor-db
- postgresql
logging:
driver: "syslog"
options:
@@ -147,7 +147,7 @@ services:
tag: "core"
portal:
image: goharbor/harbor-portal:v2.6.1
container_name: portal
container_name: harbor-portal
restart: always
cap_drop:
- ALL
@@ -172,7 +172,7 @@ services:
jobservice:
image: goharbor/harbor-jobservice:v2.6.1
container_name: jobservice
container_name: harbor-jobservice
env_file:
- ./common/config/jobservice/env
restart: always
@@ -184,6 +184,7 @@ services:
- SETUID
volumes:
- /data/job_logs:/var/log/jobs:z
- /data/scandata_exports:/var/scandata_exports:z
- type: bind
source: ./common/config/jobservice/config.yml
target: /etc/jobservice/config.yml
@@ -212,7 +213,7 @@ services:
volumes:
- /data/redis:/var/lib/redis
networks:
- harbor
harbor:
depends_on:
- log
logging:
@@ -294,6 +295,5 @@ services:
networks:
harbor:
external: false
name: harbor
proxy:
external: true