Some checks failed
Release Docker Image / define-variables (pull_request) Successful in 1s
Documentation / Build and Deploy Documentation (pull_request) Successful in 35s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Successful in 17m16s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Failing after 1h32m49s
Release Docker Image / merge (pull_request) Has been cancelled
Release Docker Image / define-variables (push) Successful in 12s
Documentation / Build and Deploy Documentation (push) Successful in 58s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Successful in 19m7s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Successful in 1h37m14s
Release Docker Image / merge (push) Successful in 21s
37 lines
2 KiB
YAML
37 lines
2 KiB
YAML
# Continuwuity - Traefik Reverse Proxy Labels
|
|
|
|
services:
|
|
homeserver:
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=proxy" # Change this to the name of your Traefik docker proxy network
|
|
|
|
- "traefik.http.routers.to-continuwuity.rule=Host(`<SUBDOMAIN>.<DOMAIN>`)" # Change to the address on which Continuwuity is hosted
|
|
- "traefik.http.routers.to-continuwuity.tls=true"
|
|
- "traefik.http.routers.to-continuwuity.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.to-continuwuity.middlewares=cors-headers@docker"
|
|
- "traefik.http.services.to_continuwuity.loadbalancer.server.port=6167"
|
|
|
|
- "traefik.http.middlewares.cors-headers.headers.accessControlAllowOriginList=*"
|
|
- "traefik.http.middlewares.cors-headers.headers.accessControlAllowHeaders=Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
|
- "traefik.http.middlewares.cors-headers.headers.accessControlAllowMethods=GET, POST, PUT, DELETE, OPTIONS"
|
|
|
|
# If you want to have your account on <DOMAIN>, but host Continuwuity on a subdomain,
|
|
# you can let it only handle the well known file on that domain instead
|
|
#- "traefik.http.routers.to-matrix-wellknown.rule=Host(`<DOMAIN>`) && PathPrefix(`/.well-known/matrix`)"
|
|
#- "traefik.http.routers.to-matrix-wellknown.tls=true"
|
|
#- "traefik.http.routers.to-matrix-wellknown.tls.certresolver=letsencrypt"
|
|
#- "traefik.http.routers.to-matrix-wellknown.middlewares=cors-headers@docker"
|
|
|
|
### Uncomment this if you uncommented Element-Web App in the docker-compose.yml
|
|
# element-web:
|
|
# labels:
|
|
# - "traefik.enable=true"
|
|
# - "traefik.docker.network=proxy" # Change this to the name of your Traefik docker proxy network
|
|
|
|
# - "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"
|
|
|
|
# vim: ts=2:sw=2:expandtab
|
|
|