@@ -43,15 +43,12 @@ services:
4343 - ./import:/opt/app/import
4444 labels :
4545 traefik.enable : " true"
46- traefik.port : " 4000"
46+ traefik.http.services.teslamate.loadbalancer.server. port : " 4000"
4747 traefik.http.middlewares.redirect.redirectscheme.scheme : " https"
4848 traefik.http.middlewares.teslamate-auth.basicauth.realm : " teslamate"
4949 traefik.http.middlewares.teslamate-auth.basicauth.usersfile : " /auth/.htpasswd"
5050 traefik.http.routers.teslamate-insecure.rule : " Host(`${FQDN_TM}`)"
5151 traefik.http.routers.teslamate-insecure.middlewares : " redirect"
52- traefik.http.routers.teslamate-ws.rule : " Host(`${FQDN_TM}`) && Path(`/live/websocket`)"
53- traefik.http.routers.teslamate-ws.entrypoints : " websecure"
54- traefik.http.routers.teslamate-ws.tls : " "
5552 traefik.http.routers.teslamate.rule : " Host(`${FQDN_TM}`)"
5653 traefik.http.routers.teslamate.middlewares : " teslamate-auth"
5754 traefik.http.routers.teslamate.entrypoints : " websecure"
@@ -89,7 +86,7 @@ services:
8986 - teslamate-grafana-data:/var/lib/grafana
9087 labels :
9188 traefik.enable : " true"
92- traefik.port : " 3000"
89+ traefik.http.services.grafana.loadbalancer.server. port : " 3000"
9390 traefik.http.middlewares.redirect.redirectscheme.scheme : " https"
9491 traefik.http.routers.grafana-insecure.rule : " Host(`${FQDN_TM}`)"
9592 traefik.http.routers.grafana-insecure.middlewares : " redirect"
@@ -108,21 +105,23 @@ services:
108105 - mosquitto-data:/mosquitto/data
109106
110107 proxy :
111- image : traefik:v2.7
108+ image : traefik:v3.5
112109 restart : always
113110 command :
114111 - " --global.sendAnonymousUsage=false"
115112 - " --providers.docker"
116113 - " --providers.docker.exposedByDefault=false"
117114 - " --entrypoints.web.address=:80"
118115 - " --entrypoints.websecure.address=:443"
116+ - " --entrypoints.websecure.http3.advertisedPort=443"
119117 - " --certificatesresolvers.tmhttpchallenge.acme.httpchallenge=true"
120118 - " --certificatesresolvers.tmhttpchallenge.acme.httpchallenge.entrypoint=web"
121119 - " --certificatesresolvers.tmhttpchallenge.acme.email=${LETSENCRYPT_EMAIL}"
122120 - " --certificatesresolvers.tmhttpchallenge.acme.storage=/etc/acme/acme.json"
123121 ports :
124122 - " 80:80"
125- - " 443:443"
123+ - " 443:443/tcp"
124+ - " 443:443/udp"
126125 volumes :
127126 - ./.htpasswd:/auth/.htpasswd
128127 - ./acme/:/etc/acme/
0 commit comments