fix split of coturn and nextcloud

This commit is contained in:
lhahn committed 2023-08-26 21:08:53 +02:00
1 parent dcdc06594d
commit 14b70537a7
5 files changed
+66 -14

No files matched your search

+30 -6
View File
@@ -4,12 +4,36 @@ cloud_storage: /opt/storage
cloud_stage: prod
cloud_update: false
ncloud_coturn_pass: SomeRandomString
ncloud_coturn_port: 5349
ncloud_domain:
- my_domain.tld
coturn_domain: my_domain.tld
coturn_pass: SomeRandomString
coturn_port: 5349
coturn_parallel_connection: 0 #0 is unlimited
coturn_bandwitdh: 0 #0 B/s is unlimited
coturn_session_lifetime: 600
coturn_cert: "/etc/letsencrypt/live/{{ coturn_domain }}/fullchain.pem"
coturn_pkey: "/etc/letsencrypt/live/{{ coturn_domain }}/privkey.pem"
coturn_dhparam: "/etc/letsencrypt/ssl-dhparams.pem"
coturn_configs:
- "tls-listening-port={{ coturn_port }}"
- fingerprint
- use-auth-secret
- "static-auth-secret={{ coturn_pass }}"
- "realm={{ ncloud_domain[0] }}"
- "total-quota={{ coturn_parallel_connection }}"
- "bps-capacity={{ coturn_bandwitdh }}"
- "stale-nonce={{ coturn_session_lifetime }}"
- cipher-list=\“ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384\″
- no-multicast-peers
- no-tlsv1
- no-tlsv1_1
- no-stdout-log
- "cert={{ coturn_cert }}"
- "pkey={{ coturn_pkey }}"
- "dh-file={{ coturn_dhparam }}"
signaling_janus_deb_target: "http://ftp.de.debian.org/debian/pool/main/j/janus/janus_1.0.0-4~bpo11+1_amd64.deb"
signaling_janus_api_key: MyVeryCoolApiKeyInBase64
signaling_hash_key: VeryCoolHashKeyForSignaling
@@ -25,6 +49,6 @@ signaling_janus_port: 8188
signaling_janus_configs:
- 'stun_server = "{{ ncloud_domain[0] }}"'
- 'stun_port = {{ ncloud_coturn_port }}'
- 'stun_port = {{ coturn_port }}'
- 'full_trickle = true'
- 'turn_rest_api_key = "{{ signaling_janus_api_key }}"'