mirror of https://github.com/OpenVidu/openvidu.git
deployment: Export elasticsearch at /openvidu/elasticsearch
parent
cc02fa4f7a
commit
c1984b5071
|
@ -91,7 +91,7 @@ services:
|
||||||
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: openvidu/openvidu-proxy:5.0.0-dev3
|
image: openvidu/openvidu-proxy:5.0.0-dev4
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -79,7 +79,7 @@ services:
|
||||||
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
max-size: "${DOCKER_LOGS_MAX_SIZE:-100M}"
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: openvidu/openvidu-proxy:5.0.0-dev3
|
image: openvidu/openvidu-proxy:5.0.0-dev4
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -25,3 +25,19 @@
|
||||||
rewrite ^/kibana/(.*)$ /$1 break;
|
rewrite ^/kibana/(.*)$ /$1 break;
|
||||||
proxy_pass http://kibana/;
|
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;
|
||||||
|
}
|
|
@ -8,6 +8,10 @@ upstream kibana {
|
||||||
server localhost:5601;
|
server localhost:5601;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
upstream elasticsearch {
|
||||||
|
server localhost:9200;
|
||||||
|
}
|
||||||
|
|
||||||
upstream openviduserver {
|
upstream openviduserver {
|
||||||
server localhost:5443;
|
server localhost:5443;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue