Trying out this config #11
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user