diff --git a/harbor/docker-compose.yml b/harbor/docker-compose.yml index f22f936..935f849 100644 --- a/harbor/docker-compose.yml +++ b/harbor/docker-compose.yml @@ -80,7 +80,7 @@ services: - harbor-config labels: - "traefik.enable=true" - - "traefik.http.routers.harbor-registry.rule=Host(`harbor.mtnet.biz`) && PathPrefix(`/v2/`)" + - "traefik.http.routers.harbor-registry.rule=Host(`${HARBOR_HOSTNAME}`) && PathPrefix(`/v2/`)" - "traefik.http.routers.harbor-registry.entrypoints=websecure" - "traefik.http.routers.harbor-registry.tls=true" - "traefik.http.routers.harbor-registry.tls.certresolver=le" @@ -115,7 +115,7 @@ services: - core labels: - "traefik.enable=true" - - "traefik.http.routers.harbor-ui.rule=Host(`harbor.mtnet.biz`)" + - "traefik.http.routers.harbor-ui.rule=Host(`${HARBOR_HOSTNAME}`)" - "traefik.http.routers.harbor-ui.entrypoints=websecure" - "traefik.http.routers.harbor-ui.tls=true" - "traefik.http.routers.harbor-ui.tls.certresolver=le"