Merge pull request 'fix(traefik): Fix YAML mapping' (#15) from fix-traefik into main

Reviewed-on: https://git.weko.io/resilien/services/pulls/15
This commit is contained in:
killian 2021-12-10 11:55:32 +01:00
commit 84927499f6
1 changed files with 17 additions and 16 deletions

View File

@ -5,21 +5,22 @@ networks:
driver: bridge driver: bridge
services: services:
ports: traefik:
- target: 443 ports:
published: 443 - target: 443
protocol: tcp published: 443
mode: host protocol: tcp
command: mode: host
- --providers.file.filename=/traefik/dynamic_conf.toml 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=true
- --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web - --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web
- --certificatesresolvers.letsencrypt.acme.email=${TRAEFIK_EMAIL} - --certificatesresolvers.letsencrypt.acme.email=${TRAEFIK_EMAIL}
- --certificatesresolvers.letsencrypt.acme.storage=/traefik/acme.json - --certificatesresolvers.letsencrypt.acme.storage=/traefik/acme.json
labels: labels:
traefik.http.routers.traefik.entrypoints: 'websecure' traefik.http.routers.traefik.entrypoints: 'websecure'
traefik.http.routers.traefik.tls.certResolver: 'letsencrypt' traefik.http.routers.traefik.tls.certResolver: 'letsencrypt'
traefik.http.routers.traefik.priority: '2000' traefik.http.routers.traefik.priority: '2000'