deployment: Export elasticsearch at /openvidu/elasticsearch

pull/609/head
cruizba 2021-03-01 16:03:39 +01:00
parent cc02fa4f7a
commit c1984b5071
4 changed files with 22 additions and 2 deletions

View File

@ -91,7 +91,7 @@ services:
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
nginx:
image: openvidu/openvidu-proxy:5.0.0-dev3
image: openvidu/openvidu-proxy:5.0.0-dev4
restart: on-failure
network_mode: host
volumes:

View File

@ -79,7 +79,7 @@ services:
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
nginx:
image: openvidu/openvidu-proxy:5.0.0-dev3
image: openvidu/openvidu-proxy:5.0.0-dev4
restart: on-failure
network_mode: host
volumes:

View File

@ -24,4 +24,20 @@
rewrite ^/kibana/(.*)$ /$1 break;
proxy_pass http://kibana/;
}
location ~ ^/openvidu/elasticsearch$ {
{rules_access_dashboard}
deny all;
rewrite ^/openvidu/elasticsearch(.*)$ $1 break;
proxy_pass http://elasticsearch;
}
location /openvidu/elasticsearch/ {
{rules_access_dashboard}
deny all;
rewrite ^/openvidu/elasticsearch/(.*)$ /$1 break;
proxy_pass http://elasticsearch;
}

View File

@ -8,6 +8,10 @@ upstream kibana {
server localhost:5601;
}
upstream elasticsearch {
server localhost:9200;
}
upstream openviduserver {
server localhost:5443;
}