Deploy matrix-synapse
Deploy matrix synapse server with Railway.
Postgres
railwayapp-templates/postgres-ssl:17
Just deployed
/var/lib/postgresql/data
synapse
matrixdotorg/synapse:latest
Just deployed
/data
Deploy and Host matrix-synapse on Railway
About Hosting matrix-synapse
All environment variables have to be set at the beginning, otherwise you must edit the /data/homeserver.yaml via ssh or wipe all volumes. For more details please check the custom startup command.
You need:
- SMTP server
- S3 or S3-like storage
By default you have to fill the email settings to be able to use the registration. Check the documents for more detail.
https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
Common Use Cases
- Chat
- Chat
- Chat
Dependencies for matrix-synapse Hosting
- See above.
- See above.
Deployment Dependencies
https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html
Why Deploy matrix-synapse on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying matrix-synapse on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
synapse
matrixdotorg/synapse:latestS3_BUCKET
S3_ENDPOINT_URL
Defaults to false. Can be changed to true.
S3_ACCESS_KEY_ID
ENABLE_REGISTRATION
Defaults to false. Can be changed to true.
SYNAPSE_SERVER_NAME
This sets the public-facing domain of the server.
S3_SECRET_ACCESS_KEY