diff --git a/harbor/docker-compose.yml b/harbor/docker-compose.yml index ef7525a..80fd5f0 100644 --- a/harbor/docker-compose.yml +++ b/harbor/docker-compose.yml @@ -82,7 +82,7 @@ services: - "5000" 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" @@ -119,7 +119,7 @@ services: - "8080" 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"