diff --git a/docker-compose.yml b/docker-compose.yml index 5071f87..d7c9a92 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,13 +12,7 @@ services: labels: - traefik.docker.network=traefik-proxy - traefik.enable=true - ### Section HTTP - - traefik.http.routers.http-${TRAEFIK_ROUTER}.entrypoints=http - - traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=8080 - # redirect to HTTPS only - - traefik.http.routers.http-${TRAEFIK_ROUTER}.middlewares=http-to-https - - traefik.http.routers.http-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_HOST}`) - ### Section HTTPS + # HTTPS - traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https - traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=3000 # configure the exposed service