mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 20:51:07 +01:00
Added turn-server draft
This commit is contained in:
parent
c980f6f034
commit
1074ac13aa
8
roles/docker-turn-server/readme.md
Normal file
8
roles/docker-turn-server/readme.md
Normal file
@ -0,0 +1,8 @@
|
||||
#role docker-turn-server
|
||||
|
||||
optional dependencie for nextcloud talk
|
||||
|
||||
## see
|
||||
- https://nextcloud-talk.readthedocs.io/en/latest/TURN/
|
||||
- https://hub.docker.com/r/instrumentisto/coturn
|
||||
- https://forum.openmediavault.org/index.php?thread/31782-docker-nextcloud-talk-plugin-and-turnserver/
|
9
roles/docker-turn-server/tasks/main.yml
Normal file
9
roles/docker-turn-server/tasks/main.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: recieve {{turn_server_domain}} certificate
|
||||
command: certbot certonly --agree-tos --email {{administrator_email}} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{turn_server_domain}}
|
||||
|
||||
- name: recreate turn server
|
||||
command:
|
||||
cmd: docker run -d --network=host --name "turn_server" instrumentisto/coturn -n --listening-port=3478 --fingerprint --use-auth-secret --static-auth-secret={{turn_server_secret}} --realm={{turn_server_domain}} --total-quota=0 --bps-capacity=0 --stale-nonce --no-multicast-peers
|
||||
#lt-cred-mech # Only on coTURN below v4.5.0.8!
|
||||
##no-loopback-peers # Only on coTURN below v4.5.1.0!
|
Loading…
Reference in New Issue
Block a user