cloud-nextcloud-signaling/defaults/main.yml
2023-08-26 21:16:54 +02:00

57 lines
1.7 KiB
YAML
Executable File

---
cloud_apps: /opt
cloud_storage: /opt/storage
cloud_stage: prod
cloud_update: false
ncloud_domain:
- my.domain.tld
coturn_domain: "{{ ncloud_domain[0] }}"
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_api_key: MyVeryCoolApiKeyInBase64
signaling_hash_key: VeryCoolHashKeyForSignaling
signaling_block_key: VeryCoolBlockKeyForSignaling
signaling_ncloud_secret_key: VerySecretKeyForNextCloud
signaling_listen_host: 127.0.0.1
signaling_listen_port: 8080
signaling_backend_name: cloudbackend
signaling_janus_host: "{{ signaling_listen_host }}"
signaling_janus_port: 8188
signaling_janus_configs:
- 'stun_server = "{{ coturn_domain }}"'
- 'stun_port = {{ coturn_port }}'
- 'full_trickle = true'
- 'turn_rest_api_key = "{{ signaling_janus_api_key }}"'