Getting Started with Docker

To get started with OvenMediaEngine Enterprise using a Docker image, follow the installation steps.

Installation

Path

OvenMediaEngine Enterprise is installed in the following path within the Docker container.

Type
Path / Description

OvenMediaEngine

/opt/ovenmediaengine/bin

Web Console (OvenStudio)

/opt/ovenmediaengine/ovenstudio

Record Delivery

/opt/ovenmediaengine/delivery

Logs

/var/log/ovenmediaengine

Login to Registry

Before installing the OvenMediaEngine Enterprise Docker image, you must first login to the container registry. A valid License Key is required for the login, and this step only needs to be performed once during the initial installation.

VALID_LICENSE_KEY="Your.License.Key"

docker login packages.buildkite.com/ovenmediaengine/docker -u buildkite -p $VALID_LICENSE_KEY

Install the OvenMediaEngine Enterprise

To install the latest version, run:

docker pull packages.buildkite.com/ovenmediaengine/docker/ovenmediaengine-enterprise
docker tag packages.buildkite.com/ovenmediaengine/docker/ovenmediaengine-enterprise ovenmediaengine-enterprise

Run OvenMediaEngine Enterprise via Docker CLI

After the installation is complete, you can run OvenMediaEngine Enterprise using the following command:

When running OvenMediaEngine Enterprise, you need to set the following two environment variables:

  • OME_LICENSE_KEY: If an invalid License Key is entered, the container will not run.

  • OME_HOST_IP: Setting the IP of the host server ensures smooth streaming and Web Console usage.

Stop and remove the container

Save configurations and data

Any changes to the configurations within a running container or log data being recorded will be deleted when the container is stopped and removed. You can use Bind mounts to persistently save the configurations and data inside the container.

Create a host directory

Copy the default configurations from the Docker container

After running the Docker container, copy the default configurations of OvenMediaEngine Enterprise using the following command:

Run using Bind mount

Run OvenMediaEngine Enterprise via Docker Compose

You can utilize Docker Compose to easily define and efficiently deploy containers. For detailed instructions on how to use Docker Compose, refer to this link.

Create a docker-compose.yaml file

After the installation is complete, you can run OvenMediaEngine Enterprise using the following command:

When running OvenMediaEngine Enterprise, you need to set the following two environment variables:

  • OME_LICENSE_KEY: If an invalid License Key is entered, the container will not run.

  • OME_HOST_IP: Setting the IP of the host server ensures smooth streaming and Web Console usage.

Stop and remove the container

Save configurations and data

Any changes to the configurations within a running container or log data being recorded will be deleted when the container is stopped and removed. You can use Bind mounts to persistently save the configurations and data inside the container.

Create a host directory

Copy the default configurations from the Docker container

After running the Docker container, copy the default configurations of OvenMediaEngine Enterprise using the following command:

Run Docker Compose using bind mounts

Ports used by default

The default configuration uses the following ports, so you need to open it in your firewall settings:

OvenMediaEngine

Port
Purpose

1935/TCP

RTMP Input

9999/UDP

SRT Input

4000/UDP

MPEG-2 TS Input

9000/TCP

Origin Server (OVT)

3333/TCP

3334/TLS

Low Latency HLS (LLHLS) Streaming

* Streaming over non-TLS is not allowed with modern browsers.

3333/TCP

3334/TLS

WebRTC Signaling (both ingest and streaming)

3478/TCP

WebRTC TCP relay (TURN Server, both ingest and streaming)

10000 - 10009/UDP

WebRTC Ice candidate (both ingest and streaming)

20080/TCP

20081/TLS

Thumbnail Extraction

Web Console (OvenStudio)

Port
Purpose

8080/TCP

Running Web Console

Last updated

Was this helpful?