#!/bin/sh # Replace {{ domain_name }} with your domain name and generate a sample config/signing key pair config, this will be used in deploy-service.yml docker run -it --rm \ --mount type=bind,src=./generated-data,dst=/data \ -e SYNAPSE_SERVER_NAME=matrix.{{ domain_name }} \ -e SYNAPSE_REPORT_STATS=yes \ matrixdotorg/synapse:latest generate