Merge pull request #1 from OpenVidu/v2compat_config

fixup: Added webhook endpoint in Dockerfile
This commit is contained in:
Carlos Ruiz Ballesteros 2024-07-08 13:57:42 +02:00 committed by GitHub
commit 0d4c3df493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View File

@ -29,7 +29,7 @@ keys:
webhook:
api_key: devkey
urls:
- http://host.docker.internal:6080/webhook
- http://host.docker.internal:6080/livekit/webhook
- http://default-app:6080/livekit/webhook
ingress:
rtmp_base_url: rtmp://localhost:1935/rtmp

View File

@ -176,6 +176,8 @@ services:
restart: unless-stopped
container_name: openvidu-v2compatibility
entrypoint: /bin/sh /scripts/entrypoint.sh
extra_hosts:
- host.docker.internal:host-gateway
ports:
- 4443:4443
environment:
@ -200,6 +202,7 @@ services:
- V2COMPAT_REDIS_PASSWORD=${REDIS_PASSWORD:-}
- V2COMPAT_REDIS_DB=0
- V2COMPAT_OPENVIDU_WEBHOOK=false
- V2COMPAT_OPENVIDU_WEBHOOK_ENDPOINT=http://host.docker.internal:7777/webhook
- OPENVIDU_DEPLOYMENT_TYPE=local
volumes:
- ./recordings:/opt/openvidu/recordings

View File

@ -54,7 +54,7 @@ webhook:
api_key: devkey
urls:
- http://host.docker.internal:4443/livekit/webhook # For OpenVidu 2 compatibility
- http://host.docker.internal:6080/webhook
- http://host.docker.internal:6080/livekit/webhook
- http://default-app:6080/livekit/webhook
ingress:
rtmp_base_url: rtmp://localhost:1935/rtmp