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