# ------------------------------------------------------------------------------
#
#    DO NOT MODIFY THIS FILE !!!
#
#    Configuration properties should be specified in .env file
#
#    This docker-compose file coordinates all services of OpenVidu CE Platform.
#
#    Openvidu Version: 2.15.0
#
#    Installation Mode: On Premises
#
# ------------------------------------------------------------------------------

version: '3.1'

services:
    media-node-controller:
        image: openvidu/media-node-controller:1.0.0
        restart: always
        ulimits:
            core: -1
        entrypoint: ['/bin/sh', '-c', '/beats/copy_config_files.sh && /usr/local/bin/entrypoint.sh']
        environment:
            - KMS_IMAGE=${KMS_IMAGE:-kurento/kurento-media-server:6.14.0}
            - KMS_DEBUG_LEVEL=${KMS_DEBUG_LEVEL:-}
            - METRICBEAT_IMAGE=${METRICBEAT_IMAGE:-docker.elastic.co/beats/metricbeat:7.8.0}
            - FILEBEAT_IMAGE=${FILEBEAT_IMAGE:-docker.elastic.co/beats/filebeat:7.8.0}
        ports:
            - 3000:3000
        volumes:
            - /opt/openvidu/recordings:/opt/openvidu/recordings
            - /opt/openvidu/beats:/opt/openvidu/beats
            - /var/run/docker.sock:/var/run/docker.sock
            - ./beats:/beats

# ------------------------------------------------------------------------------
#
#    DO NOT MODIFY THIS FILE !!!
#
#    Configuration properties should be specified in .env file
#
#    This docker-compose file coordinates all services of OpenVidu CE Platform.
#
#    Openvidu Version: 2.15.0
#
#    Installation Mode: On Premises
#
# ------------------------------------------------------------------------------

version: '3.1'

services:
    media-node-controller:
        image: openvidu/media-node-controller:1.0.0
        restart: always
        ulimits:
            core: -1
        entrypoint: ['/bin/sh', '-c', '/beats/copy_config_files.sh && /usr/local/bin/entrypoint.sh']
        env_file:
            - .env
        environment:
            - KMS_IMAGE=${KMS_IMAGE:-kurento/kurento-media-server:6.14.0}
            - KMS_DEBUG_LEVEL=${KMS_DEBUG_LEVEL:-}
            - METRICBEAT_IMAGE=${METRICBEAT_IMAGE:-docker.elastic.co/beats/metricbeat:7.8.0}
            - FILEBEAT_IMAGE=${FILEBEAT_IMAGE:-docker.elastic.co/beats/filebeat:7.8.0}
        ports:
            - 3000:3000
        volumes:
            - /opt/openvidu/recordings:/opt/openvidu/recordings
            - /opt/openvidu/beats:/opt/openvidu/beats
            - /var/run/docker.sock:/var/run/docker.sock
            - ./beats:/beats

Load dinamically env variables from .env file
Load dinamically env variables from .env file
