web-svc-coturn: Add resource limits and fix docker-compose template

- Set CPU, memory reservation/limit, and PID limit for coturn
- Ensure docker_compose_file_creation_enabled and disable git repo pulling
- Move certificate mounts to volumes and fix env var interpolation in command
- Correct realm and user formatting

See: https://chatgpt.com/share/66f65f18-799c-800a-95f4-b6b26511e9cb
This commit is contained in:
2025-09-27 01:40:37 +02:00
parent 083b7d2914
commit 926def3d01
3 changed files with 14 additions and 7 deletions

View File

@@ -6,8 +6,12 @@ server:
docker:
services:
coturn:
image: "coturn/coturn"
version: "latest"
image: "coturn/coturn"
version: "latest"
cpus: 1.0
mem_reservation: 512m
mem_limit: 1g
pids_limit: 256
redis:
enabled: false
database: