Ant Media Server is a highly Scalable Real-Time Video Streaming Platform - WebRTC Server. Ultra-Low Latency & Adaptive WebRTC Streaming Software.
This aims to build Ant Media Server Docker Image.
This improves the original image
- Persistent Data Volume
- Auto pull latest antmedia artifact for easy rebuilds (removed artifact param)
- No longer running container in privileged mode
- No longer running inside as root (using antmedia:antmedia)
- Java 11.x
- SSL Certs with Traefik
docker build -t antmediaserver .
Container with built-in data volume
docker-compose up
docker create --name antmediadata
docker run --volumes-from antmediadata --network=host -it --rm fluential/antmediaserver
# root@antmedia:~/antmedia# docker-compose up -d
Starting antmediaserver ... done
# root@antmedia:~/antmedia# docker volume ls
DRIVER VOLUME NAME
local antmedia_datastore
See docker-compose.traefik.yml
- TCP:1935 (RTMP)
- TCP:5080 (HTTP)
- TCP:5443 (HTTPS)
- TCP:5554 (RTSP)
- UDP:5000-65000 (WebRTC and RTSP)