diff --git a/docker-compose.web.yml b/docker-compose.web.yml index 998b658..a1dff40 100644 --- a/docker-compose.web.yml +++ b/docker-compose.web.yml @@ -18,12 +18,15 @@ services: - --api.debug=${DEBUG:-false} - --log.level=${LOG_LEVEL:-ERROR} - --entrypoints.web.address=:80 + - --entrypoints.local.address=:8443 ports: - "${WEB_PORT:-127.0.0.1:80:80}" + - "${LOCAL_PORT:-127.0.0.1:8443:8443}" labels: - "traefik.http.routers.${ROUTER:-traefik}.rule=Host(`${DOMAIN:-traefik.local.krislamo.org}`)" - "traefik.http.routers.${ROUTER:-traefik}.service=api@internal" - - "traefik.http.routers.${ROUTER:-traefik}.entrypoints=${ENTRYPOINT:-web}" + - "traefik.http.routers.${ROUTER:-traefik}.entrypoints=${ENTRYPOINT:-local}" + - "traefik.http.routers.${ROUTER:-traefik}.tls=${ENABLE_TLS:-false}" - "traefik.docker.network=${NETWORK:-traefik}" - "traefik.enable=${ENABLE:-false}" networks: diff --git a/docker-compose.yml b/docker-compose.yml index 2d90167..0a94491 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: - "traefik.http.routers.${ROUTER:-traefik}.rule=Host(`${DOMAIN:-traefik.local.krislamo.org}`)" - "traefik.http.routers.${ROUTER:-traefik}.service=api@internal" - "traefik.http.routers.${ROUTER:-traefik}.entrypoints=${ENTRYPOINT:-local}" - - "traefik.http.routers.${ROUTER:-traefik}.tls=true" + - "traefik.http.routers.${ROUTER:-traefik}.tls=${ENABLE_TLS:-false}" - "traefik.docker.network=${NETWORK:-traefik}" - "traefik.enable=${ENABLE:-false}" networks: