-
Notifications
You must be signed in to change notification settings - Fork 632
Docker and Docker Compose Installation
Murat Ugur Eminoglu edited this page May 17, 2022
·
5 revisions
Attention: We have migrated our documentation to our new platform, Ant Media Resources. Please follow this link for the latest and up-to-date documentation.
wget https://raw.githubusercontent.com/ant-media/Scripts/master/docker/Dockerfile_Process -O Dockerfile
Download and save Ant Media Server ZIP file in the same directory with Dockerfile
. Then run the docker build command from command line
docker build --network=host -t antmediaserver --build-arg AntMediaServer=<Replace_With_Ant_Media_Server_Zip_File> .
Now we have a docker container with Ant Media Server. Run the image.
docker run -d --name antmedia --network=host -it antmediaserver
Optional: If you would like to use persistent volume, you can use it as follows. In this way, volume keeps even if your container is destroyed.
docker volume create antmedia_volume
docker run -d --name antmedia --mount source=antmedia_volume,target=/usr/local/antmedia/ --network=host -it antmediaserver
wget https://raw.githubusercontent.com/ant-media/Scripts/master/docker/docker-compose.yml
wget https://raw.githubusercontent.com/ant-media/Scripts/master/docker/Dockerfile_Process -O Dockerfile
AntMediaServer: 'ant-media-server-enterprise-2.4.1-20211124_1803.zip'
docker-compose build
docker-compose up -d
Optional: If you would like to mount an existing volume, simply change the lines below and uncomment it.
# volumes:
# - antmedia_vol:/usr/local/antmedia/
#volumes:
# antmedia_vol:
# external: true
# name:
# antmedia_volume
- Introduction
- Quick Start
- Installation
- Publishing Live Streams
- Playing Live Streams
- Conference Call
- Peer to Peer Call
- Adaptive Bitrate(Multi-Bitrate) Streaming
- Data Channel
- Video on Demand Streaming
- Simulcasting to Social Media Channels
- Clustering & Scaling
- Monitor Ant Media Servers with Apache Kafka and Grafana
- WebRTC SDKs
- Security
- Integration with your Project
- Advanced
- WebRTC Load Testing
- TURN Servers
- AWS Wavelength Deployment
- Multi-Tenancy Support
- Monitor Ant Media Server with Datadog
- Clustering in Alibaba
- Playlist
- Kubernetes
- Time based One Time Password
- Kubernetes Autoscaling
- Kubernetes Ingress
- How to Install Ant Media Server on EKS
- Release Tests
- Spaceport Volumetric Video
- WebRTC Viewers Info
- Webhook Authentication for Publishing Streams
- Recording Streams
- How to Update Ant Media Server with Cloudformation
- How to Install Ant Media Server on GKE
- Ant Media Server on Docker Swarm
- Developer Quick Start
- Recording HLS, MP4 and how to recover
- Re-streaming update
- Git Branching
- UML Diagrams