Restore local entrypoint in 'web' compose
- Set TLS to false and variablize
This commit is contained in:
parent
cb67016830
commit
38bbedff4a
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user