mirror of https://github.com/OpenVidu/openvidu.git
deployment-openvidu-pro: Minor fix configuring different openvidu pro clusters with the same Elastic Stack
parent
ca915fa321
commit
087a2a0d06
|
@ -19,6 +19,7 @@ processors:
|
|||
- add_fields:
|
||||
fields:
|
||||
ip: ${MEDIA_NODE_IP}
|
||||
cluster-id: ${CLUSTER_ID}
|
||||
|
||||
output:
|
||||
elasticsearch:
|
||||
|
|
|
@ -5,7 +5,7 @@ metricbeat.modules:
|
|||
period: ${OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL}s
|
||||
processes: ['.*']
|
||||
cpu.metrics: [normalized_percentages]
|
||||
fields: {ip: "${MEDIA_NODE_IP}"}
|
||||
fields: {ip: "${MEDIA_NODE_IP}", cluster-id: "${CLUSTER_ID}"}
|
||||
pipeline:
|
||||
queue.mem.events: 0
|
||||
setup.ilm.enabled: false
|
|
@ -71,6 +71,12 @@ OPENVIDU_PRO_CLUSTER_MODE=manual
|
|||
# Possibles values: aws, on_premise
|
||||
OPENVIDU_PRO_CLUSTER_ENVIRONMENT=on_premise
|
||||
|
||||
# Unique identifier of your cluster. Each OpenVidu Server Pro instance corresponds to one cluster.
|
||||
# You can launch as many clusters as you want with your license key.
|
||||
# Cluster ID will always be stored to disk so restarting OpenVidu Server Pro will keep the same previous cluster ID
|
||||
# if this configuration parameter is not given a distinct value.
|
||||
# OPENVIDU_PRO_CLUSTER_ID=
|
||||
|
||||
# The desired number of Media Nodes on startup. First the autodiscovery process is performed.
|
||||
# If there are too many Media Nodes after that, they will be dropped until this number is reached.
|
||||
# If there are not enough, more will be launched.
|
||||
|
@ -85,7 +91,6 @@ OPENVIDU_PRO_CLUSTER_ENVIRONMENT=on_premise
|
|||
# Type: number >= 0
|
||||
# OPENVIDU_PRO_CLUSTER_LOAD_INTERVAL=
|
||||
|
||||
|
||||
# Whether to enable or disable autoscaling. With autoscaling the number of Media Nodes will
|
||||
# be automatically adjusted according to existing load
|
||||
# Values: true | false
|
||||
|
|
|
@ -13,6 +13,9 @@ processors:
|
|||
fields: ["message"]
|
||||
target: "json"
|
||||
overwrite_keys: true
|
||||
- add_fields:
|
||||
fields:
|
||||
cluster-id: ${OPENVIDU_PRO_CLUSTER_ID:undefined}
|
||||
|
||||
output:
|
||||
elasticsearch:
|
||||
|
|
|
@ -116,6 +116,8 @@ services:
|
|||
network_mode: host
|
||||
restart: always
|
||||
user: root
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- OPENVIDU_PRO_ELASTICSEARCH_HOST=${OPENVIDU_PRO_ELASTICSEARCH_HOST:-http://127.0.0.1:9200}
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue