Food delivery driver module + masked calls + TURN
This commit is contained in:
@@ -230,6 +230,23 @@ services:
|
||||
mem_limit: 512m
|
||||
restart: unless-stopped
|
||||
|
||||
# خادم TURN لمكالمات الصوت (رحلات + توصيل الطعام).
|
||||
# network_mode: host إجباري هنا لا تفضيلاً: coturn يضع عنوان الخادم داخل
|
||||
# حمولة ICE، ولو مرّ عبر جسر دوكر لأعلن عنواناً داخلياً (172.x) فيفشل
|
||||
# التمرير. ومع host يسري جدار الحماية عادةً بدل أن يلتفّ عليه docker-proxy.
|
||||
coturn:
|
||||
image: coturn/coturn:4.6-alpine
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./coturn/turnserver.conf:/etc/coturn/turnserver.conf:ro
|
||||
command: >
|
||||
-c /etc/coturn/turnserver.conf
|
||||
--realm=${TURN_REALM:-siromove.com}
|
||||
--static-auth-secret=${TURN_STATIC_AUTH_SECRET:?TURN_STATIC_AUTH_SECRET is required}
|
||||
--external-ip=${TURN_EXTERNAL_IP:?TURN_EXTERNAL_IP is required}
|
||||
mem_limit: 256m
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
mysql-data:
|
||||
redis-data:
|
||||
|
||||
Reference in New Issue
Block a user