mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 18:58:10 +02:00
feat(web-svc-coturn): add configurable network_mode (default host) and adjust credential generation
- Introduced `COTURN_NETWORK_MODE` to support both host and bridge modes - Updated docker-compose template to skip port publishing in host mode - Changed user_password credential algorithm to random_hex for stronger randomness - Set default network_mode: host in config Ref: https://chatgpt.com/share/68d72a50-c36c-800f-9367-32c4ae520000
This commit is contained in:
@@ -10,6 +10,7 @@ COTURN_VERSION: "{{ applications | get_app_conf(application_id, 'doc
|
||||
COTURN_IMAGE: "{{ applications | get_app_conf(application_id, 'docker.services.' ~ entity_name ~ '.image') }}"
|
||||
COTURN_VOLUME: "{{ entity_name }}"
|
||||
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] }}"
|
||||
|
Reference in New Issue
Block a user