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