@@ -78,8 +78,6 @@ services:
|
||||
- proxy
|
||||
depends_on:
|
||||
- harbor-config
|
||||
expose:
|
||||
- "5000"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "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.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}
|
||||
@@ -115,8 +113,6 @@ services:
|
||||
- proxy
|
||||
depends_on:
|
||||
- core
|
||||
expose:
|
||||
- "8080"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.harbor-ui.rule=Host(`harbor.mtnet.biz`)"
|
||||
|
||||
Reference in New Issue
Block a user