Client-Ansible-Setup/services/service_matrix/matrix-genconfig.sh

9 lines
361 B
Bash
Executable File

#!/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