testing
This commit is contained in:
parent
646c884639
commit
f8bb093e63
@ -9,8 +9,8 @@ networks:
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: "${IMAGE:-traefik}:${VERSION:-latest}"
|
||||
container_name: "${NAME:-traefik}"
|
||||
image: ${IMAGE:-traefik}:${VERSION:-latest}
|
||||
container_name: ${NAME:-traefik}
|
||||
command:
|
||||
- --providers.docker=true
|
||||
- --providers.docker.exposedbydefault=${EXPOSED_BY_DEFAULT:-false}
|
||||
@ -24,18 +24,18 @@ services:
|
||||
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
||||
- --entrypoints.web.http.redirections.entrypoint.permanent=true
|
||||
ports:
|
||||
- "${WEB_PORT:-0.0.0.0:80:80}"
|
||||
- "${WEBSECURE_PORT:-0.0.0.0:443:443}"
|
||||
- "${LOCAL_PORT:-127.0.0.1:8443:8443}"
|
||||
- ${WEB_PORT:-0.0.0.0:80}:80
|
||||
- ${WEBSECURE_PORT:-0.0.0.0:443}:443
|
||||
- ${LOCAL_PORT:-127.0.0.1:8443}:8443
|
||||
labels:
|
||||
traefik.http.routers.traefik.rule: Host(`${DOMAIN:-traefik.local.krislamo.org}`)
|
||||
traefik.http.routers.traefik.service: api@internal
|
||||
traefik.http.routers.traefik.entrypoints: ${ENTRYPOINT:-local}
|
||||
traefik.http.routers.traefik.tls: true
|
||||
traefik.docker.network: ${NETWORK:-traefik}
|
||||
traefik.enable: ${ENABLE:-false}
|
||||
- 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=${ENABLE_TLS:-true}
|
||||
- traefik.docker.network=${NETWORK:-traefik}
|
||||
- traefik.enable=${TRAEFIK_ENABLE:-false}
|
||||
networks:
|
||||
- traefik
|
||||
- ${NETWORK:-traefik}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- "traefik:/etc/traefik"
|
||||
- traefik:/etc/traefik
|
||||
|
Loading…
Reference in New Issue
Block a user