fix(traefik): Fix YAML mapping
This commit is contained in:
parent
c6821a547f
commit
d5e3a4ff7a
|
@ -5,21 +5,22 @@ networks:
|
|||
driver: bridge
|
||||
|
||||
services:
|
||||
ports:
|
||||
- target: 443
|
||||
published: 443
|
||||
protocol: tcp
|
||||
mode: host
|
||||
command:
|
||||
- --providers.file.filename=/traefik/dynamic_conf.toml
|
||||
traefik:
|
||||
ports:
|
||||
- target: 443
|
||||
published: 443
|
||||
protocol: tcp
|
||||
mode: host
|
||||
command:
|
||||
- --providers.file.filename=/traefik/dynamic_conf.toml
|
||||
|
||||
- --entrypoints.websecure.address=:443
|
||||
- --entrypoints.websecure.address=:443
|
||||
|
||||
- --certificatesresolvers.letsencrypt.acme.httpchallenge=true
|
||||
- --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web
|
||||
- --certificatesresolvers.letsencrypt.acme.email=${TRAEFIK_EMAIL}
|
||||
- --certificatesresolvers.letsencrypt.acme.storage=/traefik/acme.json
|
||||
labels:
|
||||
traefik.http.routers.traefik.entrypoints: 'websecure'
|
||||
traefik.http.routers.traefik.tls.certResolver: 'letsencrypt'
|
||||
traefik.http.routers.traefik.priority: '2000'
|
||||
- --certificatesresolvers.letsencrypt.acme.httpchallenge=true
|
||||
- --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web
|
||||
- --certificatesresolvers.letsencrypt.acme.email=${TRAEFIK_EMAIL}
|
||||
- --certificatesresolvers.letsencrypt.acme.storage=/traefik/acme.json
|
||||
labels:
|
||||
traefik.http.routers.traefik.entrypoints: 'websecure'
|
||||
traefik.http.routers.traefik.tls.certResolver: 'letsencrypt'
|
||||
traefik.http.routers.traefik.priority: '2000'
|
||||
|
|
Loading…
Reference in New Issue