Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • ip and ip_local parameters will be changed (see IP_LOCAL variable description above)
  • if CDN_ROLE variable is set, but the file contains no CDN settings, the default settings will be added
Warning

Do not mount whole folder /usr/local/FlashphonerWebCallServer/conf or separate files from this folder as volumes!

For example, this is not allowed:

Code Block
languagebash
themeRDark
docker run -e LICENSE=license_number -e PASSWORD=secret \
 -v /opt/wcs/conf:/usr/local/FlashphonerWebCallServer/conf \
 --name webcallserver-instance -d webcallserver:latest

and this too:

Code Block
languagebash
themeRDark
docker run -e LICENSE=license_number -e PASSWORD=secret \
 -v /opt/wcs/conf/flashphoner.properties:/usr/local/FlashphonerWebCallServer/conf/flashphoner.properties \
 --name webcallserver-instance -d webcallserver:latest

Container ports

The following ports are available by default:

...

The ports can be changed using docker run --expose parameters if necessary. In this case, the actual port values should be set to flashphoner.properties and wcs-core.properties files, see description above

Known issues

1. Open files limit cannot be changed from inside container

Symptoms: the following message is displaing when container starts in interactive mode

Code Block
themeRDark
ulimit: open files: cannot modify limit: Operation not permitted

Solution: set open files limit in container parameters when launching it

Code Block
languagebash
themeRDark
docker run --ulimit nofile=100000:100000 \
 -e LICENSE=license_number -e PASSWORD=secret \
 --name webcallserver-instance --rm webcallserver:latest