ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.29k stars 636 forks source link

Cannot connect to standalone MongoDB #6547

Closed sim1986 closed 3 months ago

sim1986 commented 3 months ago

I am running Ant Media in a docker container. I want to connect it to a MongoDB. I have followed the documentation on how to run the start.sh file to connect to the DB.

When I bash into the container and use the following command: root@df9a4c1eb559:/# /usr/local/antmedia/start.sh -m standalone -h my_mongo_ip mymongoadminuser secret

It tells me that DB type is redis: root@df9a4c1eb559:/# /usr/local/antmedia/start.sh -m standalone -h my_mongo_ip mongoadmin secret Mode: standalone DB type is redis 172.17.0.2 df9a4c1eb559 Running on Linux Starting Ant Media Server Selected libraries: (270 items) Root: /usr/local/antmedia

I have also confirmed that the container can reach the mongoDB because I installed the mongo client inside the container and connected it successfully.

burak-58 commented 3 months ago

Hi @sim1986, Thanks for the question. Let me turn this issue into a discussion so that you can get some quick support from support team.