# Per-recipe harness config for matrix-synapse (recipe #4 — DB + media store; the large-volume / # DB-backed category). Base recipe = synapse `app` + postgres `db` + nginx `web`. server_name is # DOMAIN (set by abra), so no EXTRA_ENV needed. Synapse + postgres startup is slow -> long timeouts. HEALTH_PATH = "/_matrix/client/versions" # 200 JSON once synapse is serving the client API HEALTH_OK = (200,) DEPLOY_TIMEOUT = 600 HTTP_TIMEOUT = 600 # TIMEOUT=900 overrides the recipe's default 300s abra-deploy convergence timeout — synapse + # postgres-autoupgrade cold-start frequently exceeds 300s on this host. # NOTE: we do NOT set ENABLE_REGISTRATION=true here — synapse refuses to start with open # registration unless `enable_registration_without_verification=true` is ALSO set, which the # recipe does not expose as an env. The register-and-message test uses the shared-secret admin # register endpoint via `exec_in_app` (curl localhost from inside the container) — that path # bypasses the public router and does NOT require ENABLE_REGISTRATION to be true. EXTRA_ENV = {"TIMEOUT": "900"}