Files
computer-playbook/roles/web-svc-coturn/config/main.yml
Kevin Veen-Birkenbach 4d223f1784 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
2025-09-27 02:05:48 +02:00

20 lines
413 B
YAML

username: coturnconsumer
server:
domains:
canonical:
- "coturn.{{ PRIMARY_DOMAIN }}"
docker:
services:
coturn:
image: "coturn/coturn"
version: "latest"
cpus: 1.0
mem_reservation: 512m
mem_limit: 1g
pids_limit: 256
network_mode: host
redis:
enabled: false
database:
enabled: false