Jump to content
  • 0

Is it possible to use MongoDB for AMS Community Edition?


Terry
 Share

Question

I read the manual and some questions in this forum; it seems like mongodb is just for Enterprise Edition (with cluster mode). I would like to make sure if mongodb can be used with AMS CE or not? I don't want everytime I restart the server, my configurations are lost.

I'm using Docker container to deploy AMS CE. I added parameters for mongodb connection when I start the container. I also changed `red5.properties` files, but it was no help.

 

Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
17 hours ago, Connessione said:

i guess that is more or less a part of the business model. What configurations do you end up loosing ? Can you describe a little?

You can always use a database externally or a different solution to persist the configurations.

One of the configurations I mentioned is the file src/main/server/conf/red5.properties, I changed server.name but when I restarted the container, it was lost.

 

Using database externally, did you mean mounted database? A database which is stored on host machine and mounted into the container?

Link to comment
Share on other sites

  • 0

Containers are normally supposed to lose data on being recreated. So that is quite normal. Docker has some special techniques to relation or copy over configurations from elsewhere. A simple configuration file like Red5.properties or similar ones won’t require database. 

A few options are :

1.  you can have configs stored on a mounted file system and get them copied over from there.

2. you can create startup scripts that can pull configuration from remote repository and prepare environment 

3. Persist configuration changes to volume and use that volume when starting container 

 

let me know if this helps

Edited by Connessione
Link to comment
Share on other sites

 Share


×
×
  • Create New...