chore: migrate harbor from 2.2.2 to 2.3.0

master
Sven Ketelsen 5 years ago
parent 7b290611e7
commit 887ef89a90

@ -1,7 +1,7 @@
version: '2.3' version: '2.3'
services: services:
log: log:
image: goharbor/harbor-log:v2.2.2 image: goharbor/harbor-log:v2.3.0
container_name: harbor-log container_name: harbor-log
restart: always restart: always
dns_search: . dns_search: .
@ -25,7 +25,7 @@ services:
networks: networks:
- harbor - harbor
registry: registry:
image: goharbor/registry-photon:v2.2.2 image: goharbor/registry-photon:v2.3.0
container_name: registry container_name: registry
restart: always restart: always
cap_drop: cap_drop:
@ -51,10 +51,10 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "registry" tag: "registry"
registryctl: registryctl:
image: goharbor/harbor-registryctl:v2.2.2 image: goharbor/harbor-registryctl:v2.3.0
container_name: registryctl container_name: registryctl
env_file: env_file:
- ./common/config/registryctl/env - ./common/config/registryctl/env
@ -82,10 +82,10 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "registryctl" tag: "registryctl"
postgresql: postgresql:
image: goharbor/harbor-db:v2.2.2 image: goharbor/harbor-db:v2.3.0
container_name: harbor-db container_name: harbor-db
restart: always restart: always
cap_drop: cap_drop:
@ -107,10 +107,11 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "postgresql" tag: "postgresql"
shm_size: '1gb'
core: core:
image: goharbor/harbor-core:v2.2.2 image: goharbor/harbor-core:v2.3.0
container_name: harbor-core container_name: harbor-core
env_file: env_file:
- ./common/config/core/env - ./common/config/core/env
@ -150,13 +151,13 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "core" tag: "core"
extra_hosts: extra_hosts:
- dev-keycloak-01.smardigo.digital:10.1.0.2 - dev-keycloak-01.smardigo.digital:10.1.0.2
- dev-mail-01.smardigo.digital:10.2.0.2 - dev-mail-01.smardigo.digital:10.2.0.2
portal: portal:
image: goharbor/harbor-portal:v2.2.2 image: goharbor/harbor-portal:v2.3.0
container_name: harbor-portal container_name: harbor-portal
restart: always restart: always
cap_drop: cap_drop:
@ -178,11 +179,11 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "portal" tag: "portal"
jobservice: jobservice:
image: goharbor/harbor-jobservice:v2.2.2 image: goharbor/harbor-jobservice:v2.3.0
container_name: harbor-jobservice container_name: harbor-jobservice
env_file: env_file:
- ./common/config/jobservice/env - ./common/config/jobservice/env
@ -209,10 +210,10 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "jobservice" tag: "jobservice"
redis: redis:
image: goharbor/redis-photon:v2.2.2 image: goharbor/redis-photon:v2.3.0
container_name: redis container_name: redis
restart: always restart: always
cap_drop: cap_drop:
@ -234,10 +235,10 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "redis" tag: "redis"
proxy: proxy:
image: goharbor/nginx-photon:v2.2.2 image: goharbor/nginx-photon:v2.3.0
container_name: nginx container_name: nginx
restart: always restart: always
cap_drop: cap_drop:
@ -267,7 +268,7 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "proxy" tag: "proxy"
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
@ -288,7 +289,7 @@ services:
trivy-adapter: trivy-adapter:
container_name: trivy-adapter container_name: trivy-adapter
image: goharbor/trivy-adapter-photon:v2.2.2 image: goharbor/trivy-adapter-photon:v2.3.0
restart: always restart: always
cap_drop: cap_drop:
- ALL - ALL
@ -311,13 +312,13 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "trivy-adapter" tag: "trivy-adapter"
env_file: env_file:
./common/config/trivy-adapter/env ./common/config/trivy-adapter/env
chartmuseum: chartmuseum:
container_name: chartmuseum container_name: chartmuseum
image: goharbor/chartmuseum-photon:v2.2.2 image: goharbor/chartmuseum-photon:v2.3.0
restart: always restart: always
cap_drop: cap_drop:
- ALL - ALL
@ -340,12 +341,12 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "chartmuseum" tag: "chartmuseum"
env_file: env_file:
./common/config/chartserver/env ./common/config/chartserver/env
exporter: exporter:
image: goharbor/harbor-exporter:v2.2.2 image: goharbor/harbor-exporter:v2.3.0
container_name: harbor-exporter container_name: harbor-exporter
env_file: env_file:
- ./common/config/exporter/env - ./common/config/exporter/env
@ -363,7 +364,7 @@ services:
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
syslog-address: "tcp://127.0.0.1:1514" syslog-address: "tcp://localhost:1514"
tag: "exporter" tag: "exporter"
networks: networks:
harbor: harbor:

Loading…
Cancel
Save