@@ -78,8 +78,6 @@ 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.mtnet.biz`) && PathPrefix(`/v2/`)"
|
- "traefik.http.routers.harbor-registry.rule=Host(`harbor.mtnet.biz`) && PathPrefix(`/v2/`)"
|
||||||
@@ -87,7 +85,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}
|
||||||
@@ -115,8 +113,6 @@ 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.mtnet.biz`)"
|
- "traefik.http.routers.harbor-ui.rule=Host(`harbor.mtnet.biz`)"
|
||||||
|
|||||||
Reference in New Issue
Block a user