Skip to content

Commit 565cb9c

Browse files
authored
docs: bump Traefik to v3.5 and enable http3 in advanced guide (#5023)
1 parent 1b00f38 commit 565cb9c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
- docs(dev): provide guidelines for checking dependency updates before merging (#4969 - @JakobLichterfeld)
5353
- docs: add domain prefix to Home Assistant default_entity_id (#5014 - @gym22)
5454
- docs: add star history (#5024 - @JakobLichterfeld)
55+
- docs: bump Traefik to v3.5 and enable http3 in advanced guide (#5023 - @swiffer)
5556

5657
## [2.1.1] - 2025-08-16
5758

website/docs/advanced_guides/traefik.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)