Testing this
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 49s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped

This commit is contained in:
2025-12-19 22:10:53 +01:00
parent 959669dc66
commit 25218446a6
2 changed files with 20 additions and 21 deletions

View File

@@ -2,20 +2,20 @@
# static configuration (traefik.yml) # static configuration (traefik.yml)
entryPoints: # entryPoints:
web: # web:
address: ":80" # or :898 in your case # address: ":80" # or :898 in your case
allowACMEByPass: true # <--- WITHOUT THIS, TRAEFIK ALWAYS WINS # allowACMEByPass: true # <--- WITHOUT THIS, TRAEFIK ALWAYS WINS
https: # https:
address: ":443" # address: ":443"
certificatesResolvers: # certificatesResolvers:
letsencrypt: # letsencrypt:
acme: # acme:
email: "kovagoadi@gmail.com" # email: "kovagoadi@gmail.com"
storage: "acme.json" # storage: "acme.json"
httpChallenge: # httpChallenge:
entryPoint: web # entryPoint: web
tcp: tcp:
routers: routers:

View File

@@ -12,14 +12,13 @@ services:
- "--providers.docker.exposedbydefault=false" - "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=proxy" - "--providers.docker.network=proxy"
- "--providers.docker.constraints=Label(`env`, `${ENV}`)" - "--providers.docker.constraints=Label(`env`, `${ENV}`)"
# - "--entryPoints.web.address=:80" - "--entryPoints.web.address=:80"
# - "--entryPoints.https.address=:443" - "--entryPoints.https.address=:443"
# - "--entryPoints.web.allowacmebypass=true" - "--entryPoints.web.allowACMEByPass=true"
# - "--certificatesresolvers.letsencrypt.acme.httpchallenge=true" - "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
# - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web" - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
# - "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com" - "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
# - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json" - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
# - "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
- "${TRAEFIK_LEGACY_OPT:-}" - "${TRAEFIK_LEGACY_OPT:-}"
- "--providers.file.watch=true" - "--providers.file.watch=true"
ports: ports: