Compare commits

...

4 Commits

Author SHA1 Message Date
27dfc1ae2c chore: publish 3.4.0+v3.4.4 release 2025-07-23 23:14:01 -04:00
2ff2c0d59e Merge pull request 'update to traefik v3' (#54) from sixsmith/traefik:v3-update-only into master
Reviewed-on: coop-cloud/traefik#54
2025-07-23 00:06:45 +00:00
60ec1191a8 v3: update Traefik 2025-07-15 15:57:41 -07:00
ff351d4c7f fix drone 2025-07-01 20:02:30 +02:00
4 changed files with 9 additions and 6 deletions

View File

@ -8,7 +8,7 @@ steps:
host: swarm-test.autonomic.zone host: swarm-test.autonomic.zone
stack: traefik stack: traefik
networks: networks:
- proxy - proxy
deploy_key: deploy_key:
from_secret: drone_ssh_swarm_test from_secret: drone_ssh_swarm_test
environment: environment:
@ -16,7 +16,7 @@ steps:
STACK_NAME: traefik STACK_NAME: traefik
LETS_ENCRYPT_ENV: production LETS_ENCRYPT_ENV: production
LETS_ENCRYPT_EMAIL: helo@autonomic.zone LETS_ENCRYPT_EMAIL: helo@autonomic.zone
TRAEFIK_YML_VERSION: v21 TRAEFIK_YML_VERSION: v22
FILE_PROVIDER_YML_VERSION: v10 FILE_PROVIDER_YML_VERSION: v10
ENTRYPOINT_VERSION: v4 ENTRYPOINT_VERSION: v4
trigger: trigger:

View File

@ -3,7 +3,7 @@ version: "3.8"
services: services:
app: app:
image: "traefik:v2.11.26" image: "traefik:v3.4.4"
# Note(decentral1se): *please do not* add any additional ports here. # Note(decentral1se): *please do not* add any additional ports here.
# Doing so could break new installs with port conflicts. Please use # Doing so could break new installs with port conflicts. Please use
# the usual `compose.$app.yml` approach for any additional ports # the usual `compose.$app.yml` approach for any additional ports
@ -78,7 +78,7 @@ services:
- SECRETS=0 - SECRETS=0
- SERVICES=1 # Needs access - SERVICES=1 # Needs access
- SESSION=0 - SESSION=0
- SWARM=0 - SWARM=1
- SYSTEM=0 - SYSTEM=0
- TASKS=1 # Needs access - TASKS=1 # Needs access
- VERSION=1 # Needs access - VERSION=1 # Needs access

1
release/3.4.0+v3.4.4 Normal file
View File

@ -0,0 +1 @@
Updates Traefik from v2 to v3. Migration notes here: https://doc.traefik.io/traefik/migration/v2-to-v3-details/#configuration-details-for-migrating-from-traefik-v2-to-v3 By default, syntax for Traefik rules in recipes still use v2 syntax. To upgrade a recipe to use v3 label syntax, set the ruleSyntax label in the recipe per: https://doc.traefik.io/traefik/reference/routing-configuration/http/router/rules-and-priority/#rulesyntax

View File

@ -1,13 +1,15 @@
--- ---
core:
defaultRuleSyntax: v2
log: log:
level: {{ env "LOG_LEVEL" }} level: {{ env "LOG_LEVEL" }}
providers: providers:
docker: swarm:
endpoint: "tcp://socket-proxy:2375" endpoint: "tcp://socket-proxy:2375"
exposedByDefault: false exposedByDefault: false
network: proxy network: proxy
swarmMode: true
{{ if eq (env "FILE_PROVIDER_DIRECTORY_ENABLED") "1" }} {{ if eq (env "FILE_PROVIDER_DIRECTORY_ENABLED") "1" }}
file: file:
directory: /etc/traefik/file-providers directory: /etc/traefik/file-providers