Иной подход к звонкам

This commit is contained in:
Халимов Рустам
2026-03-11 15:18:35 +03:00
parent 9d2d7efbf1
commit 18f39ecea8
4 changed files with 5 additions and 51 deletions
+1 -24
View File
@@ -22,10 +22,8 @@ services:
DATABASE_URL: ${DATABASE_URL:-postgresql://${POSTGRES_USER:-vortex}:${POSTGRES_PASSWORD:-vortex_pass}@db:5432/${POSTGRES_DB:-vortex_db}}
PORT: 3001
JWT_SECRET: ${JWT_SECRET:-your-secure-random-secret-key-here}
CORS_ORIGINS: ${CORS_ORIGINS:-http://localhost,http://localhost:80,http://localhost:9090,http://localhost:5173}
CORS_ORIGINS: ${CORS_ORIGINS:-http://localhost,http://localhost:80,http://localhost:9090,http://localhost:5173,http://${DOMAIN:-mess.khomegeneric.keenetic.pro},https://${DOMAIN:-mess.khomegeneric.keenetic.pro}}
ENCRYPTION_KEY: ${ENCRYPTION_KEY:-0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef}
TURN_URL: ${TURN_URL:-turn:${DOMAIN:-mess.khomegeneric.keenetic.pro}:3478}
TURN_SECRET: ${TURN_SECRET:-dcf1c1827c0c520d45130e282ea26991}
depends_on:
- db
ports:
@@ -44,26 +42,5 @@ services:
depends_on:
- server
turn:
image: coturn/coturn
container_name: vortex-turn
restart: always
ports:
- "3478:3478"
- "3478:3478/udp"
- "49152-49170:49152-49170/udp"
command:
- turnserver
- -n
- -v
- --log-file=stdout
- --min-port=49152
- --max-port=49170
- --realm=${DOMAIN:-mess.khomegeneric.keenetic.pro}
- --static-auth-secret=${TURN_SECRET:-dcf1c1827c0c520d45130e282ea26991}
- --no-tls
- --no-dtls
- --external-ip=78.47.125.180
volumes:
postgres_data: