matrix-webhook/docker-compose.yml
Guilhem Saurel 9615cdf3c7 traefik v2
2020-05-13 00:29:57 +02:00

17 lines
394 B
YAML

version: '3'
networks:
web:
external: true
services:
bot:
build: .
restart: unless-stopped
env_file:
- .env
networks:
- web
labels:
traefik.enable: "true"
traefik.http.routers.matrix-webhook.rule: "Host(`${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`, `www.${CHATONS_SERVICE:-matrixwebhook}.${CHATONS_DOMAIN:-localhost}`)"