Deploying Zixi Products Using ...
How to Deploy Zixi Broadcaster...
Appendix A - dockerfile_zixi_broadcaster.txt
1 min
alma 9 docker image \# get alma 9 docker image from almalinux 9 4 \# variables edit me with proper version env zixiversion 18 4 46123 \# disable firewall run systemctl mask firewalld \# install/uninstall necessary linux packages run dnf update y run dnf install y dnf utils net tools wget tar chrony telnet traceroute initscripts numactl ipcalc xz dmidecode iproute pciutils which \# net snmp net snmp utils \# copy zixi installer to new image and extract files copy zixi broadcaster ${zixiversion} linux64 tar xz run tar xvf zixi broadcaster ${zixiversion} linux64 tar xz \# copy files to proper folder run cp /zixi broadcaster linux64/scripts/centos7/ /zixi broadcaster linux64/ \# create link to executable with no version for entrypoint command run ln s /zixi broadcaster linux64/zixi broadcaster ${zixiversion} /zixi broadcaster linux64/zixi broadcaster run ln s /etc/chrony conf /etc/ntp conf \# informs docker that the container listens on the specified ports \# these are relevant ports for broadcaster but some may not be necessary depending on use case \# ports that will be used need to published upon running the image for bridged mode \# some other ports may need to be added for rtp/udp streams \# web management ui, http protocol expose 4444/tcp \# feeder push to broadcaster, zixi protocol expose 2088/udp \# feeder push to broadcaster, zixi protocol with dtls expose 7088/udp \# receiver pull from broadcaster, zixi protocol expose 2077/udp \# receiver pull from broadcaster, zixi protocol with dtls expose 7077/udp \# encoder push to broadcaster, rtmp protocol expose 1935/tcp \# http streaming protocol hls or dash when broadcaster is origin server expose 7777/tcp \# preinstall a config file setting logs to be stored at zixi broadcaster linux64/logs \# other settings for default behavior could be added to the config file as well copy broadcaster config template xml zixi broadcaster linux64/broadcaster config xml \# create logs folder workdir /zixi broadcaster linux64/logs \# set final working directory workdir /zixi broadcaster linux64 \# set the executable to start when the container is run entrypoint \[" /zixi broadcaster", " no daemon"] run which tar