mirror of
https://github.com/ArcticFoxes-net/Coturn-Docker-Compose.git
synced 2024-12-26 15:59:55 -05:00
Coturn Docker-Compose for Matrix Synapse
a845db41e9
Signed-off-by: Tommy <contact@tommytran.io> |
||
---|---|---|
coturn | ||
docker-compose.yml | ||
LICENSE | ||
README.md |
Coturn-Docker-Compose
Coturn Docker-Compose for Matrix Synapse
- Start the ACME daemon:
docker-compose up -d acme
. - Register an account ZeroSSL:
docker exec acme --register-account -m email@domain.tld
. - Generate the certificate:
docker exec acme --issue -d turn.yourdomain.tld --standalone --ecc --ocsp
. - Copy the certificates to the correct location:
docker exec acme --install-cert -d turn.yourdomain.tld --fullchain-file /ssl/fullchain.pem --key-file /ssl/privkey.pem
. - Set
65534:65534
to own the certificates:chown -R 65534:65534 ./ssl
- Edit
coturn/turnserver.conf
approprieately. At minimum, you should changerealm
to your TURN server's hostname and set your ownstatic-auth-secret
. - Run
docker-compose up
and make sure nothing errors out. You can usedocker-compose up -d
to start it in the background if you want.