From f8bb093e63115f6f236c47252149f9999a6a6f2f Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Thu, 19 Oct 2023 02:14:52 -0400 Subject: [PATCH] testing --- docker-compose.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b789bf7..0bf3fe7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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