Restore local entrypoint in 'web' compose

- Set TLS to false and variablize
This commit is contained in:
Kris Lamoureux 2023-10-25 23:18:35 -04:00
parent cb67016830
commit 38bbedff4a
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 5 additions and 2 deletions

View File

@ -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:

View File

@ -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: