fix: some upgrade

This commit is contained in:
VaalaCat 2025-04-07 12:46:11 +00:00
parent 8cbb0b4258
commit b2d663e95c
2 changed files with 22 additions and 4 deletions

View File

@ -10,6 +10,14 @@ entryPoints:
websecure: websecure:
address: ":443" address: ":443"
http:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
metrics:
address: ":40882"
api: api:
insecure: true insecure: true
@ -39,3 +47,13 @@ certificatesResolvers:
storage: acme.json storage: acme.json
dnsChallenge: dnsChallenge:
provider: cloudflare provider: cloudflare
metrics:
prometheus:
entryPoint: metrics
headerLabels:
x_real_ip: X-Real-Ip
x_forwarded_host: X-Forwarded-Host
x_forwarded_port: X-Forwarded-Port
x_forwarded_for: X-Forwarded-For
x_forwarded_proto: X-Forwarded-Proto

View File

@ -1,6 +1,6 @@
services: services:
reverse-proxy: reverse-proxy:
image: traefik:3.1 image: traefik:3.3
restart: unless-stopped restart: unless-stopped
ports: ports:
- "30080:80" - "30080:80"
@ -42,7 +42,7 @@ services:
- "traefik.http.middlewares.traefik-forward-auth.forwardauth.authResponseHeaders=X-Forwarded-User" - "traefik.http.middlewares.traefik-forward-auth.forwardauth.authResponseHeaders=X-Forwarded-User"
whoami: whoami:
image: containous/whoami image: traefik/whoami
restart: unless-stopped restart: unless-stopped
expose: expose:
- 80 - 80
@ -58,5 +58,5 @@ services:
networks: networks:
traefik: traefik:
external: external: true
name: traefik name: traefik