Setup env #24

Merged
kovagoadi merged 42 commits from fix-acme into main 2025-12-20 15:12:52 +01:00
2 changed files with 20 additions and 21 deletions
Showing only changes of commit 25218446a6 - Show all commits

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: