Add Element-Web to compose and provide extra compose files for using..

..Conduit behind Traefik Reverse Proxy
This commit is contained in:
Daniel Wiesenberg 2020-08-02 15:55:40 +02:00
parent 5f3cb3f926
commit 7456caeefd
3 changed files with 84 additions and 2 deletions

View file

@ -0,0 +1,21 @@
# Conduit - Traefik Reverse Proxy Labels
version: '3'
services:
homeserver:
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.to-conduit.rule=Host(`<SUBDOMAIN>.<DOMAIN>`)" # Change to the address on which Conduit is hosted
- "traefik.http.routers.to-conduit.tls=true"
- "traefik.http.routers.to-conduit.tls.certresolver=letsencrypt"
element-web:
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.to-element-web.rule=Host(`<SUBDOMAIN>.<DOMAIN>`)" # Change to the address on which Element-Web is hosted
- "traefik.http.routers.to-element-web.tls=true"
- "traefik.http.routers.to-element-web.tls.certresolver=letsencrypt"