tmancill 0cea9811cd [Docker] Change default freeswitch UID and GID to 499 in docker/master/Dockerfile | před 10 měsíci | |
---|---|---|
.. | ||
base_image | před 3 roky | |
examples | před 1 rokem | |
master | před 10 měsíci | |
release | před 7 roky | |
README.md | před 1 rokem |
These are the official Docker files for master branch and the current release packages.
These containers are set up so that you can mount your freeswitch configuration from a host or data volume container.
To mount freeswitch Configuration
-v $(pwd)/configuration:/etc/freeswitch
To mount tmp directory for storing recordings, etc
-v $(pwd)/tmp:/tmp
The container also has a healthcheck where it does a fs_cli status check to make sure the freeswitch service is still running.
The container should be run with host networking using docker run --network host ...
.
If you prefer to (or for some reason must) publish individual ports via --publish/-p
, refer to this issue and this potential workaround regarding using docker with large port ranges.
The following ports will be used, depending upon your specific configuration:
If you wish to help improve these please submit a pull request at:
https://github.com/signalwire/freeswitch
Thanks, /b