recording fixed

pull/447/head
OscarSotoSanchez 2020-04-20 18:45:56 +02:00
parent 4d2f812da9
commit 9efeb6c7a6
5 changed files with 22 additions and 7 deletions

View File

@ -18,7 +18,7 @@ version: '3.1'
services: services:
openvidu-server: openvidu-server:
image: openvidu/openvidu-server:2.13.0-beta7 image: openvidu/openvidu-server:2.13.0-beta8
restart: on-failure restart: on-failure
network_mode: host network_mode: host
entrypoint: ['/bin/bash', '-c', 'export COTURN_IP=`curl --silent ifconfig.co`; /usr/local/bin/entrypoint.sh'] entrypoint: ['/bin/bash', '-c', 'export COTURN_IP=`curl --silent ifconfig.co`; /usr/local/bin/entrypoint.sh']
@ -44,6 +44,7 @@ services:
core: -1 core: -1
volumes: volumes:
- /opt/openvidu/kms-crashes:/opt/openvidu/kms-crashes - /opt/openvidu/kms-crashes:/opt/openvidu/kms-crashes
- ${OPENVIDU_RECORDING_PATH}:${OPENVIDU_RECORDING_PATH}
environment: environment:
- KMS_MIN_PORT=40000 - KMS_MIN_PORT=40000
- KMS_MAX_PORT=57000 - KMS_MAX_PORT=57000
@ -67,13 +68,13 @@ services:
- MAX_PORT=65535 - MAX_PORT=65535
nginx: nginx:
image: openvidu/openvidu-proxy:1.0.0-beta5 image: openvidu/openvidu-proxy:1.0.0-beta6
restart: on-failure restart: on-failure
network_mode: host network_mode: host
volumes: volumes:
- ./certificates:/etc/letsencrypt - ./certificates:/etc/letsencrypt
- ./owncert:/owncert - ./owncert:/owncert
- /opt/openvidu/custom-layout:/opt/openvidu/custom-layout - ${OPENVIDU_RECORDING_CUSTOM_LAYOUT}:/opt/openvidu/custom-layout
environment: environment:
- DOMAIN_OR_PUBLIC_IP=${OPENVIDU_DOMAIN_OR_PUBLIC_IP} - DOMAIN_OR_PUBLIC_IP=${OPENVIDU_DOMAIN_OR_PUBLIC_IP}
- CERTIFICATE_TYPE=${CERTIFICATE_TYPE} - CERTIFICATE_TYPE=${CERTIFICATE_TYPE}

View File

@ -52,6 +52,10 @@ server {
root /opt/openvidu; root /opt/openvidu;
} }
location /recordings {
proxy_pass http://openviduserver;
}
location /api { location /api {
proxy_pass http://openviduserver; proxy_pass http://openviduserver;
} }

View File

@ -52,6 +52,10 @@ server {
root /opt/openvidu; root /opt/openvidu;
} }
location /recordings {
proxy_pass http://openviduserver;
}
location /api { location /api {
proxy_pass http://openviduserver; proxy_pass http://openviduserver;
} }

View File

@ -87,6 +87,10 @@ server {
root /opt/openvidu; root /opt/openvidu;
} }
location /recordings {
proxy_pass http://openviduserver;
}
location /api { location /api {
proxy_pass http://openviduserver; proxy_pass http://openviduserver;
} }
@ -130,7 +134,6 @@ server {
} }
location /inspector { location /inspector {
rewrite ^/inspector/(.*)$ /$1 break; proxy_pass http://openviduserver;
proxy_pass http://openviduserver/;
} }
} }

View File

@ -97,6 +97,10 @@ server {
root /opt/openvidu; root /opt/openvidu;
} }
location /recordings {
proxy_pass http://openviduserver;
}
location /api { location /api {
proxy_pass http://openviduserver; proxy_pass http://openviduserver;
} }
@ -140,7 +144,6 @@ server {
} }
location /inspector { location /inspector {
rewrite ^/inspector/(.*)$ /$1 break; proxy_pass http://openviduserver;
proxy_pass http://openviduserver/;
} }
} }