https://matrix.org & https://riot.im
For this project, you need to setup both matrix
& riot
subdomains of $CHATONS_DOMAIN
(which defaults to
localhost
)
echo POSTGRES_PASSWORD=$(openssl rand -base64 32) >> .env
echo SYNAPSE_REPORT_STATS=no >> .env
echo SYNAPSE_ENABLE_REGISTRATION=yes >> .env
echo SYNAPSE_SMTP_PORT=465 >> .env
echo SYNAPSE_SMTP_HOST=mail.gandi.net >> .env
echo SYNAPSE_SMTP_USER=dev@oxyta.net >> .env
echo SYNAPSE_SMTP_PASSWORD=changeme >> .env
echo SYNAPSE_SERVER_NAME=matrix.localhost >> .env
echo PROTOCOL=http >> .env # or https for production
If you setup your DNS with _matrix._tcp 3600 IN SRV 10 0 8448 $CHATONS_SERVICE.$CHATONS_DOMAIN.
, you
can use $CHATONS_DOMAIN
as $SYNAPSE_SERVER_NAME
. Otherwise, you have to use $CHATONS_SERVICE.$CHATONS_DOMAIN
.
docker-compose up -d