From 863c914d4a1180a392ea7c8194b9f4af4317b561 Mon Sep 17 00:00:00 2001 From: Richard Attermeyer Date: Mon, 27 Nov 2023 11:08:14 +0000 Subject: [PATCH] WIP: removed api insecure --- infrastructure/docker-compose.yml | 5 ++--- infrastructure/traefik/traefik.yml | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/infrastructure/docker-compose.yml b/infrastructure/docker-compose.yml index 3d1870c..14ea5f5 100644 --- a/infrastructure/docker-compose.yml +++ b/infrastructure/docker-compose.yml @@ -23,7 +23,7 @@ volumes: services: traefik: - image: traefik:latest + image: traefik:v2.10.5 container_name: traefik restart: always ports: @@ -33,8 +33,6 @@ services: - "8543:443" # SSH port - "2222:222/tcp" - # The Web UI (enabled by '--api.dashboard=true' and '--api.insecure=true') - - "8181:8080" network_mode: host volumes: - "/var/run/docker.sock:/var/run/docker.sock:ro" @@ -46,6 +44,7 @@ services: - "traefik.http.routers.dashboard.rule=Host(`${TRAEFIK_HOST}`)" - "traefik.http.routers.dashboard.tls=true" - "traefik.http.routers.dashboard.entrypoints=https" + - "traefik.http.routers.dashboard.service=api@internal" - "traefik.http.services.dashboard.loadbalancer.server.port=8080" smtp: diff --git a/infrastructure/traefik/traefik.yml b/infrastructure/traefik/traefik.yml index f84ce97..63ea88e 100644 --- a/infrastructure/traefik/traefik.yml +++ b/infrastructure/traefik/traefik.yml @@ -4,7 +4,6 @@ global: api: dashboard: true - insecure: true log: level: INFO