Trying out this config #11

Merged
kovagoadi merged 26 commits from add-acme into main 2025-11-27 23:58:44 +01:00
Showing only changes of commit e2c67a605f - Show all commits

View File

@@ -13,6 +13,15 @@ services:
- "--providers.docker.network=proxy"
- "--providers.docker.constraints=Label(`env`, `${ENV}`)"
- "--entryPoints.web.address=:80"
- --entryPoints=Name:http Address::80 Redirect.EntryPoint:https
- --entryPoints=Name:https Address::443 TLS
- --defaultentrypoints=https,http
- --docker.watch=true
- --acme.email=kovagoadi@gmail.com
- --acme.storage=acme.json
- --acme.entryPoint=https
- --acme.onHostRule=true
- --acme.httpchallenge.entrypoint=http
ports:
- "${PORT}:80"
- "8080"
@@ -27,7 +36,7 @@ services:
labels:
- "env=${ENV}"
- "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
- "traefik.http.routers.whoami.rule=Host(`test.staging.kovaogoadi.hu`)"
- "traefik.http.routers.whoami.entrypoints=web"
networks:
proxy: