mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Updated turn-server configuration. Not functioning yet.
This commit is contained in:
parent
7bd377af1f
commit
8cdc8cad91
@ -134,3 +134,5 @@ Until NC24 MariaDB version has to be used.
|
||||
- https://unix.stackexchange.com/questions/478855/ansible-docker-container-and-depends-on
|
||||
- https://github.com/gdiepen/docker-convenience-scripts
|
||||
- https://help.nextcloud.com/t/several-issues-after-upgrading-to-nextcloud-21/113118/3
|
||||
- https://forum.openmediavault.org/index.php?thread/31782-docker-nextcloud-talk-plugin-and-turnserver/
|
||||
- https://help.nextcloud.com/t/nextcloud-talk-im-docker-container-turn-server-auf-docker-host-kein-video/84133/10
|
||||
|
8
roles/docker-turn-server/handlers/main.yml
Normal file
8
roles/docker-turn-server/handlers/main.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: recreate turn server
|
||||
command:
|
||||
cmd: docker restart -d -p "{{turn_server_listening_port}}:{{turn_server_listening_port}}" -p "{{turn_server_listening_port}}:{{turn_server_listening_port}}/udp" --mount type=tmpfs,destination=/var/lib/coturn --name "turn_server" -v "/home/administrator/volumes/docker/turn-server/turnserver.conf:/etc/coturn/turnserver.conf" coturn/coturn
|
||||
# -p 49152-65535:49152-65535/udp
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 600
|
||||
DOCKER_CLIENT_TIMEOUT: 600
|
@ -10,9 +10,4 @@
|
||||
|
||||
- name: configure turnserver.conf
|
||||
template: src=templates/turnserver.conf.j2 dest=/home/administrator/volumes/docker/turn-server/turnserver.conf
|
||||
|
||||
- name: recreate turn server
|
||||
command:
|
||||
cmd: docker run -d -p 3478:3478 -p 3478:3478/udp --name "turn_server" -v "/home/administrator/volumes/docker/turn-server/turnserver.conf:/etc/coturn/turnserver.conf" coturn/coturn
|
||||
# --mount type=tmpfs,destination=/var/lib/coturn
|
||||
# -p 49152-65535:49152-65535/udp
|
||||
notify: recreate turn server
|
||||
|
@ -1,9 +1,9 @@
|
||||
listening-port=3478
|
||||
listening-port={{turn_server_listening_port}}
|
||||
fingerprint
|
||||
use-auth-secret
|
||||
static-auth-secret={{turn_server_secret}}
|
||||
realm={{turn_server_domain}}
|
||||
total-quota=100
|
||||
total-quota=0
|
||||
bps-capacity=0
|
||||
stale-nonce
|
||||
no-multicast-peers
|
||||
|
1
roles/docker-turn-server/vars/main.yml
Normal file
1
roles/docker-turn-server/vars/main.yml
Normal file
@ -0,0 +1 @@
|
||||
turn_server_listening_port: 3478
|
Loading…
Reference in New Issue
Block a user