mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: Let configure public ip via env variable in .env
parent
fd1d7bc313
commit
3d3c2242a8
|
@ -68,6 +68,13 @@ LETSENCRYPT_EMAIL=user@example.com
|
|||
# ALLOWED_ACCESS_TO_RESTAPI=198.51.100.1, 198.51.100.0/24
|
||||
# ALLOWED_ACCESS_TO_RESTAPI=
|
||||
|
||||
# Public IP used by coturn, nginx and openvidu-server
|
||||
# Possible values:
|
||||
# - auto-ipv4: Auto discover public IPv4 using dns services (Default)
|
||||
# - auto-ipv6: Auto discover public IPv6 using dns services
|
||||
# - Any valid IPv4 and IPv6 value
|
||||
# PUBLIC_IP=auto-ipv4
|
||||
|
||||
# Whether to enable recording module or not
|
||||
OPENVIDU_RECORDING=false
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ services:
|
|||
- KMS_URIS=["ws://localhost:8888/kurento"]
|
||||
- COTURN_REDIS_IP=127.0.0.1
|
||||
- COTURN_REDIS_PASSWORD=${OPENVIDU_SECRET}
|
||||
- COTURN_IP=${COTURN_IP:-auto-ipv4}
|
||||
- COTURN_IP=${PUBLIC_IP:-auto-ipv4}
|
||||
|
||||
kms:
|
||||
image: ${KMS_IMAGE:-kurento/kurento-media-server:6.14.0}
|
||||
|
|
|
@ -71,6 +71,14 @@ LETSENCRYPT_EMAIL=user@example.com
|
|||
# ALLOWED_ACCESS_TO_RESTAPI=198.51.100.1, 198.51.100.0/24
|
||||
# ALLOWED_ACCESS_TO_RESTAPI=
|
||||
|
||||
# Public IP used by coturn, nginx and openvidu-server
|
||||
# Possible values:
|
||||
# - auto-ipv4: Auto discover public IPv4 using dns services (Default)
|
||||
# - auto-ipv6: Auto discover public IPv6 using dns services
|
||||
# - Any valid IPv4 and IPv6 value
|
||||
# PUBLIC_IP=auto-ipv4
|
||||
|
||||
|
||||
# Mode of cluster management. Can be auto (OpenVidu manages Media Nodes on its own.
|
||||
# Parameter KMS_URIS is ignored) or manual (user must manage Media Nodes. Parameter
|
||||
# KMS_URIS is used: if any uri is provided it must be valid)
|
||||
|
|
|
@ -41,7 +41,7 @@ services:
|
|||
- KMS_URIS=[]
|
||||
- COTURN_REDIS_IP=127.0.0.1
|
||||
- COTURN_REDIS_PASSWORD=${OPENVIDU_SECRET}
|
||||
- COTURN_IP=${COTURN_IP:-auto-ipv4}
|
||||
- COTURN_IP=${PUBLIC_IP:-auto-ipv4}
|
||||
- OPENVIDU_PRO_CLUSTER=true
|
||||
- OPENVIDU_PRO_KIBANA_HOST=${OPENVIDU_PRO_KIBANA_HOST:-http://127.0.0.1/kibana}
|
||||
- OPENVIDU_PRO_ELASTICSEARCH_HOST=${OPENVIDU_PRO_ELASTICSEARCH_HOST:-http://127.0.0.1:9200}
|
||||
|
@ -66,7 +66,7 @@ services:
|
|||
- DB_PASSWORD=${OPENVIDU_SECRET}
|
||||
- MIN_PORT=40000
|
||||
- MAX_PORT=65535
|
||||
- TURN_PUBLIC_IP=${TURN_PUBLIC_IP:-auto-ipv4}
|
||||
- TURN_PUBLIC_IP=${PUBLIC_IP:-auto-ipv4}
|
||||
|
||||
nginx:
|
||||
image: openvidu/openvidu-proxy:4.0.0-dev4
|
||||
|
@ -90,6 +90,8 @@ services:
|
|||
- SUPPORT_DEPRECATED_API=${SUPPORT_DEPRECATED_API:-true}
|
||||
- REDIRECT_WWW=${REDIRECT_WWW:-false}
|
||||
- WORKER_CONNECTIONS=${WORKER_CONNECTIONS:-10240}
|
||||
- PUBLIC_IP=${PUBLIC_IP:-auto-ipv4}
|
||||
|
||||
|
||||
elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.0
|
||||
|
|
Loading…
Reference in New Issue