A docker image for RTP Engine and used in P-KISS-SBC project, but the container could be used in any project.
You can see all images available to pull from Dockerhub registry via the Tags page. Docker tag names that begin with a "change type" word such as task, bug, or feature are available for testing and may be removed at any time.
The version is the same of the RTP Engine and Debian this is image is based on
You can clone this repository and manually build it.
cd mwolff44/pks-rtpengine\:%%VERSION%%
docker build -t mwolff44/pks-rtpengine:%%VERSION%% .
Otherwise you can pull this image from gitlab index.
docker push mwolff44w/pks-rtpengine:%%VERSION%%
The following is a basic example of using this image.
docker run -it --net=host \
-p 8080:8080 \
-e BIND_HTTP_PORT=8080 \
-e LOG_LEVEL=8 \
mwolff44/pks-rtpengine
Environment variables are used in the entry point script to render configuration templates. You can specify the values of these variables during docker run
, docker-compose up
, or in Kubernetes manifests in the env
array.
PUBLIC_IP
- Host's external IP. If undefined, the container will attempt to guess the host's public IPBIND_HTTP_PORT
- The port the container is listening on for HTTP requests. Defaults to8080
BIND_NG_PORT
- The port the container is listening on for NG requests. Defaults to22222
LOG_LEVEL
- Level of verbosity of the logs. Defaults to7
PORT_MIN
- Lower value of port range. Defaults to10000
PORT_MAX
- Upper value of port range. Defalts to10500
CLOUD
- Name of cloud the provided. This will help the container determine its public IP. Acceptable values are:gcp
,aws
,digitalocean
,scaleway
,azure
, and*
. Defaults to*
8080
- Default HTTP port22222
- Default NG port
This container requires of "host" mode to do its job. The ports PORT_MIN to PORT_MAX must be open on the host.