2020-03-30 18:55:06 +02:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# DO NOT MODIFY THIS FILE !!!
|
|
|
|
#
|
|
|
|
# Configuration properties should be specified in .env file
|
|
|
|
#
|
2020-04-06 11:59:05 +02:00
|
|
|
# Application based on OpenVidu should be specified in
|
2020-03-30 18:55:06 +02:00
|
|
|
# docker-compose.override.yml file
|
|
|
|
#
|
2020-04-06 11:59:05 +02:00
|
|
|
# This docker-compose file coordinates all services of OpenVidu CE Plarform.
|
2020-03-30 18:55:06 +02:00
|
|
|
#
|
|
|
|
# This file will be overridden when update OpenVidu Platform
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
2020-03-24 12:08:36 +01:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
2020-03-30 18:55:06 +02:00
|
|
|
|
2020-03-25 13:02:26 +01:00
|
|
|
openvidu-server:
|
2020-04-03 16:01:07 +02:00
|
|
|
image: openvidu/openvidu-server:2.13.0-beta4
|
2020-03-25 12:42:26 +01:00
|
|
|
restart: on-failure
|
|
|
|
network_mode: host
|
2020-03-24 17:18:37 +01:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2020-03-25 12:42:26 +01:00
|
|
|
- ${OPENVIDU_RECORDING_FOLDER}:${OPENVIDU_RECORDING_FOLDER}
|
2020-04-06 11:59:05 +02:00
|
|
|
env_file:
|
2020-03-29 05:10:50 +02:00
|
|
|
- .env
|
2020-03-24 12:32:48 +01:00
|
|
|
environment:
|
2020-03-25 12:42:26 +01:00
|
|
|
- SERVER_SSL_ENABLED=false
|
|
|
|
- SERVER_PORT=5443
|
|
|
|
- OPENVIDU_SECRET=${OPENVIDU_SECRET}
|
2020-03-29 05:10:50 +02:00
|
|
|
- OPENVIDU_PUBLICURL=
|
2020-03-25 12:42:26 +01:00
|
|
|
- OPENVIDU_RECORDING=true
|
|
|
|
- OPENVIDU_RECORDING_PATH=${OPENVIDU_RECORDING_FOLDER}
|
2020-03-30 02:33:36 +02:00
|
|
|
- KMS_URIS=["ws://localhost:8888/kurento"]
|
2020-03-29 05:10:50 +02:00
|
|
|
- COTURN_IP=${OPENVIDU_DOMAIN_OR_PUBLIC_IP}
|
2020-03-25 12:42:26 +01:00
|
|
|
- COTURN_REDIS_IP=127.0.0.1
|
2020-03-27 16:46:32 +01:00
|
|
|
- LOGGING_LEVEL_ROOT=${OV_CE_DEBUG_LEVEL:-INFO}
|
2020-03-24 12:32:48 +01:00
|
|
|
|
|
|
|
kms:
|
2020-04-06 11:59:05 +02:00
|
|
|
image: ${KMS_IMAGE:-kurento/kurento-media-server-dev:6.13}
|
2020-03-25 12:42:26 +01:00
|
|
|
restart: on-failure
|
2020-03-24 12:32:48 +01:00
|
|
|
network_mode: host
|
2020-03-30 02:33:36 +02:00
|
|
|
ulimits:
|
|
|
|
core: -1
|
2020-03-24 12:32:48 +01:00
|
|
|
environment:
|
2020-03-26 15:11:08 +01:00
|
|
|
- KMS_EXTERNAL_ADDRESS=auto
|
2020-03-27 13:21:26 +01:00
|
|
|
- KMS_MIN_PORT=40000
|
|
|
|
- KMS_MAX_PORT=57000
|
2020-04-06 11:59:05 +02:00
|
|
|
- GST_DEBUG=${KMS_DEBUG_LEVEL:-}
|
2020-03-24 12:32:48 +01:00
|
|
|
|
2020-03-29 01:10:10 +01:00
|
|
|
redis:
|
2020-03-24 17:18:37 +01:00
|
|
|
image: redis:5.0.7
|
2020-03-25 12:42:26 +01:00
|
|
|
restart: on-failure
|
|
|
|
network_mode: host
|
2020-03-24 12:08:36 +01:00
|
|
|
|
2020-03-29 01:10:10 +01:00
|
|
|
coturn:
|
2020-03-26 17:37:51 +01:00
|
|
|
image: openvidu/openvidu-coturn:1.0.0-beta1
|
2020-03-25 12:42:26 +01:00
|
|
|
restart: on-failure
|
2020-03-24 12:08:36 +01:00
|
|
|
network_mode: host
|
|
|
|
environment:
|
2020-03-25 12:42:26 +01:00
|
|
|
- REDIS_IP=127.0.0.1
|
2020-03-24 12:08:36 +01:00
|
|
|
- TURN_LISTEN_PORT=3478
|
|
|
|
- DB_NAME=0
|
|
|
|
- DB_PASSWORD=turn
|
2020-03-27 13:21:26 +01:00
|
|
|
- MIN_PORT=57001
|
2020-03-24 12:08:36 +01:00
|
|
|
- MAX_PORT=65535
|
2020-04-06 11:59:05 +02:00
|
|
|
|
2020-03-29 01:10:10 +01:00
|
|
|
nginx:
|
2020-04-02 11:30:20 +02:00
|
|
|
image: openvidu/openvidu-proxy:1.0.0-beta2
|
2020-03-25 12:42:26 +01:00
|
|
|
restart: on-failure
|
2020-03-24 12:08:36 +01:00
|
|
|
network_mode: host
|
|
|
|
volumes:
|
2020-03-27 13:21:26 +01:00
|
|
|
- ./certificates:/etc/letsencrypt
|
2020-03-25 12:42:26 +01:00
|
|
|
- ./owncert:/owncert
|
2020-04-06 11:59:05 +02:00
|
|
|
environment:
|
2020-03-29 05:10:50 +02:00
|
|
|
- DOMAIN_OR_PUBLIC_IP=${OPENVIDU_DOMAIN_OR_PUBLIC_IP}
|
2020-03-25 12:42:26 +01:00
|
|
|
- CERTIFICATE_TYPE=${CERTIFICATE_TYPE}
|
|
|
|
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
|