├── README.md ├── arm64-m1-m2 └── Dockerfile ├── macos-srt └── Dockerfile └── ubuntu-22.04-with-ssl └── Dockerfile /README.md: -------------------------------------------------------------------------------- 1 | # Docker files for Nimble Streamer 2 | 3 | Docker files for convenience of [Nimble Streamer](https://softvelum.com/nimble/) usage. 4 | 5 | macos-srt/Dockerfle creates container with Nimble Streamer and SRT package, read "Install Nimble Streamer with SRT on MacOS using Docker" (https://blog.wmspanel.com/2020/08/nimble-streamer-srt-docker-macos.html) for more details. 6 | 7 | arm64-m1-m2/Dockerfile - Dockerfile for arm64 working with MacOS on M1 and M2 8 | 9 | ubuntu-22.04-with-ssl/Dockerfile - Dockerfile for installing Nimble with SSL support 10 | -------------------------------------------------------------------------------- /arm64-m1-m2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:focal 2 | MAINTAINER Sergei Ovchinnikov (https://wmspanel.com/help) 3 | LABEL description="Nimble Streamer with SRT" 4 | 5 | RUN apt-get update -y 6 | RUN apt-get install wget gnupg sudo vim less -y 7 | 8 | ENV TZ=Asia/Vladivostok 9 | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 10 | 11 | RUN wget -q -O - http://nimblestreamer.com/gpg.key | sudo apt-key add - 12 | RUN apt-get update -y 13 | RUN echo "deb http://nimblestreamer.com/raspbian/ buster/" >> /etc/apt/sources.list 14 | RUN echo "deb http://us-east-2.ec2.ports.ubuntu.com/ubuntu-ports/ bionic universe" >> /etc/apt/sources.list 15 | RUN apt-get update -y 16 | RUN apt-get install nimble nimble-srt nimble-transcoder -y 17 | 18 | ARG WMSPANEL_SERVER_NAME=SRT-MACOS 19 | ARG WMSPANEL_ACCOUNT= 20 | ARG WMSPANEL_PASS= 21 | ARG WMSPANEL_TRANSCODER_LICENSE= 22 | 23 | RUN sudo /usr/bin/nimble_regutil -u $WMSPANEL_ACCOUNT -p $WMSPANEL_PASS --server-name $WMSPANEL_SERVER_NAME --host nimble.wmspanel.com 24 | RUN sudo /usr/bin/nimble_regutil -u $WMSPANEL_ACCOUNT -p $WMSPANEL_PASS --transcoder-license $WMSPANEL_TRANSCODER_LICENSE --host nimble.wmspanel.com 25 | 26 | RUN sudo echo "management_listen_interfaces = *" >> /etc/nimble/nimble.conf 27 | 28 | #EXPOSE 8081 1935 554 4444/udp 29 | ENTRYPOINT ["/usr/bin/nimble", "--conf-dir=/etc/nimble", "--log-dir=/var/log/nimble","--pidfile=/var/run/nimble/nimble.pid"] 30 | -------------------------------------------------------------------------------- /macos-srt/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:bionic 2 | MAINTAINER Sergei Ovchinnikov (https://wmspanel.com/help) 3 | LABEL description="Nimble Streamer with SRT" 4 | 5 | RUN apt-get update -y 6 | RUN apt-get install wget gnupg sudo vim less -y 7 | 8 | ENV TZ=Asia/Vladivostok 9 | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 10 | 11 | RUN wget -q -O - http://nimblestreamer.com/gpg.key | sudo apt-key add - 12 | RUN apt-get update -y 13 | RUN echo "deb http://nimblestreamer.com/ubuntu bionic/">>/etc/apt/sources.list \ 14 | && apt-get update -y 15 | RUN apt-get install nimble nimble-srt -y 16 | 17 | ARG WMSPANEL_SERVER_NAME=SRT-MACOS 18 | ARG WMSPANEL_ACCOUNT= 19 | ARG WMSPANEL_PASS= 20 | 21 | RUN sudo /usr/bin/nimble_regutil -u $WMSPANEL_ACCOUNT -p $WMSPANEL_PASS --server-name $WMSPANEL_SERVER_NAME --host nimble.wmspanel.com 22 | RUN sudo echo "management_listen_interfaces = *" >> /etc/nimble/nimble.conf 23 | 24 | #EXPOSE 8081 1935 554 4444/udp 25 | ENTRYPOINT ["/usr/bin/nimble", "--conf-dir=/etc/nimble", "--log-dir=/var/log/nimble","--pidfile=/var/run/nimble/nimble.pid"] 26 | -------------------------------------------------------------------------------- /ubuntu-22.04-with-ssl/Dockerfile: -------------------------------------------------------------------------------- 1 | # Ubuntu 22.04 + SSL 2 | # Uncomment SSL lines if SSL configuration is needed 3 | 4 | FROM ubuntu:22.04 5 | MAINTAINER Sergei Ovchinnikov (https://wmspanel.com/help) 6 | LABEL description="Nimble Streamer with SRT" 7 | 8 | RUN apt-get update -y 9 | RUN apt-get install wget gnupg sudo vim less -y 10 | 11 | ENV TZ=Asia/Vladivostok 12 | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 13 | 14 | RUN sudo bash -c 'echo -e "deb http://nimblestreamer.com/ubuntu jammy/" > /etc/apt/sources.list.d/nimble.list' 15 | RUN wget -q -O - http://nimblestreamer.com/gpg.key | sudo tee /etc/apt/trusted.gpg.d/nimble.asc 16 | RUN apt-get update -y 17 | 18 | RUN apt-get install nimble nimble-srt -y 19 | 20 | 21 | # Fill in variables for Nimble Server name, WMSPanel account and password below 22 | ARG WMSPANEL_SERVER_NAME=SRT-Ubuntu_22.04 23 | ARG WMSPANEL_ACCOUNT= 24 | ARG WMSPANEL_PASS= 25 | 26 | RUN sudo /usr/bin/nimble_regutil -u $WMSPANEL_ACCOUNT -p $WMSPANEL_PASS --server-name $WMSPANEL_SERVER_NAME --host nimble.wmspanel.com 27 | RUN sudo echo "management_listen_interfaces = *" >> /etc/nimble/nimble.conf 28 | 29 | ## Uncomment for SSL config 30 | # Place SSL certificate files to the same directory as Dockerfile and fill its file names in respective variables 31 | #ARG NIMBLE_SSL_CERT= 32 | #ARG NIMBLE_SSL_KEY= 33 | 34 | #ADD $NIMBLE_SSL_CERT /etc/nimble 35 | #ADD $NIMBLE_SSL_KEY /etc/nimble 36 | #RUN sudo echo "ssl_port = 443" >> /etc/nimble/nimble.conf 37 | #RUN sudo echo "ssl_certificate = /etc/nimble/$NIMBLE_SSL_CERT" >> /etc/nimble/nimble.conf 38 | #RUN sudo echo "ssl_certificate_key = /etc/nimble/$NIMBLE_SSL_KEY" >> /etc/nimble/nimble.conf 39 | #RUN sudo echo "ssl_http2_enabled = true" >> /etc/nimble/nimble.conf 40 | ## 41 | 42 | #EXPOSE 8081 1935 554 443 4444/udp 43 | ENTRYPOINT ["/usr/bin/nimble", "--conf-dir=/etc/nimble", "--log-dir=/var/log/nimble","--pidfile=/var/run/nimble.pid"] 44 | --------------------------------------------------------------------------------