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:
2025-09-27 02:05:48 +02:00
parent 926def3d01
commit 4d223f1784
4 changed files with 6 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
credentials:
user_password:
description: "Long-Term Credential password for clients"
algorithm: "alphanumeric_32"
algorithm: "random_hex"
validation: "^[A-Za-z0-9]{32}$"
auth_secret:
description: "TURN-REST static auth secret"