Cannot connect to standalone MongoDB #6553
-
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: It tells me that DB type is redis: I have also confirmed that the container can reach the mongoDB because I installed the mongo client inside the container and connected it successfully. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @sim1986, |
Beta Was this translation helpful? Give feedback.
-
Hi @sim1986 Let us check the issue with mongodb in standalone mode on our side. Meanwhile, you can connect to MongoDB using the cluster mode via the below command.
It works fine as expected. |
Beta Was this translation helpful? Give feedback.
-
Hi @sim1986 @yashtandon113 , I 've just sent a new PR. You can download src/main/server/conf/functions.sh file and copy it to /usr/local/antmedia/conf/ and then call the ./change_server_mode.sh script again. Thanks. |
Beta Was this translation helpful? Give feedback.
Hi @sim1986 @yashtandon113 ,
I 've just sent a new PR.
You can download src/main/server/conf/functions.sh file and copy it to /usr/local/antmedia/conf/ and then call the ./change_server_mode.sh script again.
#6564
Thanks.