mirror of https://github.com/OpenVidu/openvidu.git
Heap Memory parametrizable
parent
641a48af8d
commit
21d606cd14
|
@ -258,12 +258,19 @@ OPENVIDU_CDR_PATH=/opt/openvidu/cdr
|
||||||
# RECOMENDED VALUES: INFO for normal logs DEBUG for more verbose logs
|
# RECOMENDED VALUES: INFO for normal logs DEBUG for more verbose logs
|
||||||
# OV_CE_DEBUG_LEVEL=INFO
|
# OV_CE_DEBUG_LEVEL=INFO
|
||||||
|
|
||||||
# Java Options
|
# OpenVidu Java Options
|
||||||
# --------------------------
|
# --------------------------
|
||||||
# Uncomment the next line and define this to add options to java command
|
# Uncomment the next line and define this to add options to java command
|
||||||
# Documentation: https://docs.oracle.com/cd/E37116_01/install.111210/e23737/configuring_jvm.htm#OUDIG00058
|
# Documentation: https://docs.oracle.com/cd/E37116_01/install.111210/e23737/configuring_jvm.htm#OUDIG00058
|
||||||
# JAVA_OPTIONS=-Xms2048m -Xmx4096m
|
# JAVA_OPTIONS=-Xms2048m -Xmx4096m
|
||||||
|
|
||||||
|
# ElasticSearch Java Options
|
||||||
|
# --------------------------
|
||||||
|
# Uncomment the next line and define this to add options to java command of Elasticsearch
|
||||||
|
# Documentation: https://docs.oracle.com/cd/E37116_01/install.111210/e23737/configuring_jvm.htm#OUDIG00058
|
||||||
|
# By default ElasticSearch is configured to use "-Xms2g -Xmx2g" as Java Min and Max memory heap allocation
|
||||||
|
# ES_JAVA_OPTS=-Xms2048m -Xmx4096m
|
||||||
|
|
||||||
# Kibana And ElasticSearch Configuration
|
# Kibana And ElasticSearch Configuration
|
||||||
# --------------------------
|
# --------------------------
|
||||||
# Kibana And ElasticSearch Basic Auth configuration (Credentials)
|
# Kibana And ElasticSearch Basic Auth configuration (Credentials)
|
||||||
|
|
|
@ -111,6 +111,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- discovery.type=single-node
|
- discovery.type=single-node
|
||||||
- xpack.security.enabled=true
|
- xpack.security.enabled=true
|
||||||
|
- "ES_JAVA_OPTS=${ES_JAVA_OPTS:--Xms2g -Xmx2g}"
|
||||||
ports:
|
ports:
|
||||||
- 9200:9200
|
- 9200:9200
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue