2026-04-15 14:19:24 +00:00
|
|
|
# Continuwuity - Traefik Reverse Proxy Labels (override file)
|
2020-08-04 22:04:27 +02:00
|
|
|
|
|
|
|
|
services:
|
2024-08-31 14:08:31 +02:00
|
|
|
homeserver:
|
|
|
|
|
labels:
|
|
|
|
|
- "traefik.enable=true"
|
|
|
|
|
- "traefik.docker.network=proxy" # Change this to the name of your Traefik docker proxy network
|
|
|
|
|
|
2026-04-14 16:54:33 +00:00
|
|
|
- "traefik.http.routers.to-continuwuity.rule=Host(`example.com`)" # Change to the address on which Continuwuity is hosted
|
2025-05-10 20:37:08 +01:00
|
|
|
- "traefik.http.routers.to-continuwuity.tls=true"
|
|
|
|
|
- "traefik.http.routers.to-continuwuity.tls.certresolver=letsencrypt"
|
|
|
|
|
- "traefik.http.routers.to-continuwuity.middlewares=cors-headers@docker"
|
2026-03-28 09:22:40 +00:00
|
|
|
|
|
|
|
|
# This must match with CONTINUWUITY_PORT (default: 8008)
|
|
|
|
|
- "traefik.http.services.to_continuwuity.loadbalancer.server.port=8008"
|
2024-08-31 14:08:31 +02:00
|
|
|
|
|
|
|
|
- "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"
|
|
|
|
|
|
2025-04-22 07:56:42 -05:00
|
|
|
# If you want to have your account on <DOMAIN>, but host Continuwuity on a subdomain,
|
2024-08-31 14:08:31 +02:00
|
|
|
# you can let it only handle the well known file on that domain instead
|
2026-03-28 09:22:40 +00:00
|
|
|
#- "traefik.http.routers.to-matrix-wellknown.rule=Host(`example.com`) && PathPrefix(`/.well-known/matrix`)"
|
2024-08-31 14:08:31 +02:00
|
|
|
#- "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"
|