diff --git a/compose.yml b/compose.yml index a9209f6..eaab589 100644 --- a/compose.yml +++ b/compose.yml @@ -29,6 +29,11 @@ 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}" + - "traefik.http.routers.${STACK_NAME}-federation.rule=Host(`${SERVER_NAME}`)" + - "traefik.http.routers.${STACK_NAME}-federation.entrypoints=matrix-federation" + - "traefik.http.routers.${STACK_NAME}-federation.tls=true" + - "traefik.http.routers.${STACK_NAME}-federation.tls.certresolver=${LETS_ENCRYPT_ENV}" + - "traefik.http.routers.${STACK_NAME}-federation.service=${STACK_NAME}" healthcheck: test: curl -f http://${STACK_NAME}_app:8008/health || exit 1 interval: 30s