diff --git a/abra.sh b/abra.sh index ea6b88f..126ccaf 100644 --- a/abra.sh +++ b/abra.sh @@ -1,3 +1,3 @@ -export TRAEFIK_YML_VERSION=v20 +export TRAEFIK_YML_VERSION=v21 export FILE_PROVIDER_YML_VERSION=v10 export ENTRYPOINT_VERSION=v3 diff --git a/compose.yml b/compose.yml index 636b171..b39c447 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: app: - image: "traefik:v2.11.2" + image: "traefik:v3.0.0" # Note(decentral1se): *please do not* add any additional ports here. # Doing so could break new installs with port conflicts. Please use # the usual `compose.$app.yml` approach for any additional ports @@ -47,7 +47,7 @@ services: - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.service=api@internal" - "traefik.http.routers.${STACK_NAME}.middlewares=security@file" - - "coop-cloud.${STACK_NAME}.version=2.6.3+v2.11.2" + - "coop-cloud.${STACK_NAME}.version=3.0.0+v3.0.0" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" networks: diff --git a/traefik.yml.tmpl b/traefik.yml.tmpl index 5ef1676..8796575 100644 --- a/traefik.yml.tmpl +++ b/traefik.yml.tmpl @@ -3,11 +3,10 @@ log: level: {{ env "LOG_LEVEL" }} providers: - docker: + swarm: endpoint: "unix:///var/run/docker.sock" exposedByDefault: false network: proxy - swarmMode: true {{ if eq (env "FILE_PROVIDER_DIRECTORY_ENABLED") "1" }} file: directory: /etc/traefik/file-providers