Compare commits

...
Author SHA1 Message Date
3wordchant f03c21db68 Merge branch 'feat/3wc/caddy' into chore/meet.wiki.cafe-deployment 2026-05-25 23:33:26 -04:00
3wordchant 37c9f1ba38 fix: SYNAPSE_SERVER_NAME → SERVER_NAME;
SYNAPSE_SERVER_NAME seems to only be used in the Docker-specific
"generate" command, which we're not using (instead templating a
`homeserver.yaml` file using Golang templating)
2026-05-25 23:31:52 -04:00
3wordchant 935eb77069 feat: Support Caddy reverse proxy 2026-05-07 00:46:34 -04:00
+4 -1
View File
@@ -30,6 +30,9 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "caddy=${DOMAIN}"
- "caddy.reverse_proxy={{upstreams 80}}"
- "caddy.tls.on_demand="
healthcheck:
test: curl -f http://${STACK_NAME}_app:8008/health || exit 1
interval: 30s
@@ -84,7 +87,7 @@ services:
- STACK_NAME
- SYNAPSE_ADMIN_EMAIL
- SYNAPSE_REPORT_STATS=no
- SYNAPSE_SERVER_NAME=${DOMAIN}
- SERVER_NAME
- USER_IPS_MAX_AGE
- VIRTUAL_HOST=${DOMAIN}
- VIRTUAL_PORT=8008