traefik v2

This commit is contained in:
Guilhem Saurel 2020-05-13 00:29:57 +02:00
parent ce83079d59
commit 9615cdf3c7

View file

@ -14,4 +14,4 @@ services:
- web - web
labels: labels:
traefik.enable: "true" traefik.enable: "true"
traefik.frontend.rule: "Host: ${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}, www.${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}" traefik.http.routers.matrix-webhook.rule: "Host(`${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`, `www.${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`)"