harbor/docker-compose.yml aktualisiert
This commit is contained in:
@@ -78,6 +78,8 @@ services:
|
||||
- proxy
|
||||
depends_on:
|
||||
- harbor-config
|
||||
expose:
|
||||
- "5000"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.harbor-registry.rule=Host(`${HARBOR_HOSTNAME}`) && PathPrefix(`/v2/`)"
|
||||
@@ -85,7 +87,7 @@ services:
|
||||
- "traefik.http.routers.harbor-registry.tls=true"
|
||||
- "traefik.http.routers.harbor-registry.tls.certresolver=le"
|
||||
- "traefik.http.services.harbor-registry.loadbalancer.server.port=5000"
|
||||
|
||||
|
||||
core:
|
||||
image: goharbor/harbor-core:${HARBOR_VERSION:-v2.11.0}
|
||||
container_name: ${HARBOR_CORE_CONTAINER:-harbor-core}
|
||||
@@ -113,6 +115,8 @@ services:
|
||||
- proxy
|
||||
depends_on:
|
||||
- core
|
||||
expose:
|
||||
- "8080"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.harbor-ui.rule=Host(`${HARBOR_HOSTNAME}`)"
|
||||
|
||||
Reference in New Issue
Block a user