...
/conf
- additional configuration files folder, the path starts from container root. This volume can be mounted as read-only/usr/local/FlashphonerWebCallServer/hls
- HLS segments folder. This volume must be mounted with write access/usr/local/FlashphonerWebCallServer/logs
- logging folder. This volume must be mounted with write access/usr/local/FlashphonerWebCallServer/media
- media files for VOD playback folder. This volume can be mounted as read-only. This volume can be shared with another Web Call Server instances/usr/local/FlashphonerWebCallServer/records
- stream recoding files folder. This volume must be mounted with write access. This volume can be shared with another Web Call Server instances
...
Code Block | ||||
---|---|---|---|---|
| ||||
docker run -e LICENSE=license_number -e CDN_ROLE=origin \
-v /opt/wcs/conf:/conf \
-v /opt/wcs/logs:/usr/local/FlashphonerWebCallServer/logs \
-v /opt/wcs/hls:/usr/local/FlashphonerWebCallServer/hls \
-v /opt/wcs/media:/usr/local/FlashphonerWebCallServer/media \
-v /opt/wcs/records:/usr/local/FlashphonerWebCallServer/records \
--name webcallserver-instance -d webcallserver:latest |
Warning | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Do not mount whole folder /usr/local/FlashphonerWebCallServer/conf or separate files from this folder as volumes! For example, this is not allowed:
and this too:
|
Additional instance configuration
...
ip
andip_local
parameters will be changed (seeIP_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:
and this too:
|
Container ports
The following ports are available by default:
...
Code Block | ||||
---|---|---|---|---|
| ||||
docker run --ulimit nofile=100000:100000 \ -e LICENSE=license_number -e PASSWORD=secret \ --name webcallserver-instance --rm webcallserver:latest |
2. It is not recommended to use Docker on Windows due to port forwarding issues
Symptoms: WCS container is running but not available via SSH, HTTP/HTTPS, or WebRTC connection is not establishing when container is deployed in Docker on Windows
Solution: use Docker on Linux, or launch WCS in WSL 2