ArcticFoxes-Synapse-Docker-.../README.md

18 lines
1.2 KiB
Markdown
Raw Normal View History

2022-01-13 10:19:52 -05:00
# Synapse-Docker-Compose
Matrix Synapse Docker-Compose
2022-01-13 11:49:31 -05:00
2022-01-13 11:52:38 -05:00
1. Update docker-compose.yml
2022-01-14 02:11:01 -05:00
2. Run `docker-compose run --rm -e SYNAPSE_SERVER_NAME=yourdomain.tld -e SYNAPSE_REPORT_STATS=no synapse generate`
2022-01-13 12:01:47 -05:00
3. Update ./files/homeserver.yaml
- Update web_client_location to app.yourdomain.tld (Remember to remove the comment #)
2022-01-13 12:04:05 -05:00
- Update public_baseurl to matrix.yourdomain.tld (Remember to remove the comment #)
- Uncomment serve_server_wellknown to enable it and configure https://yourdoman.tld/.well-known/matrix/server for federation
2022-01-13 18:56:13 -05:00
- Change `pepper` in your password config. Uncomment the setting to enable it.
2022-01-13 19:12:54 -05:00
- Change the default database from SQLite to PostgreSQL
2022-01-13 18:10:19 -05:00
- Configure the mail credentials if you have a mail server
2022-01-13 19:16:51 -05:00
- Configure `admin_contact` in the homeserver blocking section
2022-01-13 18:27:22 -05:00
- Enable `encryption_enabled_by_default_for_room_type` by default
- Edit whatever else you might want to
2022-01-14 02:11:54 -05:00
4. Copy config.sample.json from https://github.com/vector-im/element-web to `./element/config.json` and make the approriate adjustments
2022-01-15 11:00:52 -05:00
5. Run `docker-compose up` and make sure nothing errors out. You can use `docker-compose up -d` to start it in the background if you want.