Skip to content

Commit

Permalink
feat: update traefik to v3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomMoulard committed May 1, 2024
1 parent fe4a6aa commit c2f99a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,6 @@ services:
- --certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=web
- --certificatesresolvers.myresolver.acme.httpchallenge=true
- --entrypoints.websecure.http.tls.certresolver=myresolver
- --experimental.http3=true
- --entrypoints.websecure.http3
- --accesslog.filepath=/logs/access.log
- --accesslog.format=json
Expand All @@ -1671,7 +1670,7 @@ services:
- traefik
- healthcheck
- --ping
image: traefik:v2.10
image: traefik:v3.0
labels:
traefik.enable: "true"
traefik.http.middlewares.basic_auth.basicauth.removeHeader: "true"
Expand Down
3 changes: 1 addition & 2 deletions traefik/docker-compose.traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'

services:
traefik:
image: 'traefik:${TRAEFIK_IMAGE_VERSION:-v2.10}'
image: 'traefik:${TRAEFIK_IMAGE_VERSION:-v3.0}'
command:
# Provider
- '--providers.docker'
Expand All @@ -18,7 +18,6 @@ services:
- '--certificatesresolvers.myresolver.acme.httpchallenge=true'
- '--entrypoints.websecure.http.tls.certresolver=myresolver'
# HTTP/3
- '--experimental.http3=true'
- '--entrypoints.websecure.http3'
# Logs
- '--accesslog.filepath=/logs/access.log'
Expand Down

0 comments on commit c2f99a4

Please sign in to comment.