This is a Docker image for the Janus WebRTC server.
It builds Janus specifically for use with uStreamer on a Raspberry Pi OS system, so it's probably not useful for general purpose Janus work.
- This must run on a Raspberry Pi device.
curl -fsSL https://get.docker.com | sudo sh && \
sudo usermod -aG docker $(whoami)
Log out and log in again for the docker permissions to take effect.
# Tag the docker image with the current date.
TAG="$(date '+%Y-%m-%d')"
# Build the docker image.
pushd $(mktemp -d) && \
git clone https://github.com/tiny-pilot/janus-docker.git . && \
docker build -t "tinypilotkvm/janus:${TAG}" .
Alternatively, you can make use of the pre-built Docker image by running the following command:
docker pull tinypilotkvm/janus:2022-03-07
docker run \
--privileged \
--network host \
--volume /dev/shm:/dev/shm \
--name janus \
"tinypilotkvm/janus:${TAG}"
If you are happy with the build, you can upload it to Docker Hub:
docker push "tinypilotkvm/janus:${TAG}"