Guilhem Saurel 029749f751 matrix: riot: restart unless-stopper il y a 6 ans
..
Dockerfile f2012d93af matrix: riot prefers synapse's full url il y a 6 ans
README.md 380cdf8623 matrix: doc DNS il y a 6 ans
docker-compose.yml 029749f751 matrix: riot: restart unless-stopper il y a 6 ans

README.md

Matrix & Riot

https://matrix.org & https://riot.im

DNS

For this project, you need to setup both matrix & riot subdomains of $CHATONS_DOMAIN (which defaults to localhost)

Configure

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

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.

Deploy

docker-compose up -d