skip to main content
Configuring the Docker container .env file
The Docker container .env file requires the following configuration to support TLS.
To enable TLS
1. Run the following:
ICET_CONF__tls_supported=true
ICET_CONF__preferred_signalling_protocol=”tls”
2. Run the following to ensure pjsip_acfg.json is mounted from the home folder, along with the icet.pem and icetkey.pem certificate files:
docker run
--detach \
--net=host \
--name telephony \
--env-file env \
--volume ${GATEWAY_TLS_CERT_FILE_PATH}:${GATEWAY_TLS_CERT_FILE_PATH} \
--volume ${GATEWAY_TLS_PRIVATE_KEY_FILE_PATH}:${GATEWAY_TLS_PRIVATE_KEY_FILE_PATH} \
--volume /home/iceadmin/telephony-logs:/home/telephony/icet/logs \
--volume /home/iceadmin/telephony-cores:/tmp \
--restart always \
--ulimit core=-1 \
--log-driver json-file \
--log-opt max-size=1g instantconnect/ice/gateway:3.5.7732
3. Restart the container, see the Running the Container section for the restart command.