diff options
-rw-r--r-- | docker-compose.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index de16af1..38f9b7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: labels: - "traefik.enable=true" - "traefik.http.routers.traefik.entrypoints=web" - - "traefik.http.routers.traefik.rule=Host(`traefik.docker.localhost`)" + - "traefik.http.routers.traefik.rule=Host(`traefik.${HOSTNAME}`)" - "traefik.http.services.traefik.loadbalancer.server.port=8080" networks: - circus @@ -32,7 +32,7 @@ services: labels: - "traefik.enable=true" - "traefik.http.routers.register.entrypoints=web" - - "traefik.http.routers.register.rule=Host(`register.docker.localhost`)" + - "traefik.http.routers.register.rule=Host(`register.${HOSTNAME}`)" - "traefik.http.services.register.loadbalancer.server.port=8081" networks: - circus |