mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 10:48:10 +02:00
Refactor Coturn port configuration: unify STUN and TURN into stun_turn and stun_turn_tls, update vars, docker-compose template, and add robust healthcheck [https://chatgpt.com/share/68d73a2d-ef34-800f-90d2-1628822ca541]
This commit is contained in:
@@ -13,8 +13,8 @@ COTURN_REALM: "{{ domain }}"
|
||||
COTURN_NETWORK_MODE: "{{ applications | get_app_conf(application_id, 'docker.services.' ~ entity_name ~ '.network_mode') }}"
|
||||
|
||||
## Ports
|
||||
COTURN_TURN_PORT: "{{ ports.public.turn[application_id] }}"
|
||||
COTURN_STUN_PORT: "{{ ports.public.stun[application_id] }}"
|
||||
COTURN_STUN_TURN_PORT: "{{ ports.public.stun_turn[application_id] }}"
|
||||
COTURN_STUN_TURN_PORT_TLS: "{{ ports.public.stun_turn_tls[application_id] }}"
|
||||
COTURN_RELAY_PORT_START: "{{ ports.public.relay_port_ranges[application_id ~ '_start'] }}"
|
||||
COTURN_RELAY_PORT_END: "{{ ports.public.relay_port_ranges[application_id ~ '_end' ] }}"
|
||||
COTURN_RELAY_PORT_RANGE: "{{ COTURN_RELAY_PORT_START }}-{{ COTURN_RELAY_PORT_END }}"
|
||||
|
Reference in New Issue
Block a user