LibreChat-AI/librechat.ai

Feedback for “MongoDB Community Server”

felixthekraut opened this issue · 2 comments

I believe that this page needs to be updated, but I am not 100% sure. It appears that the MONGO_URI is specified in docker-compose.yml and is not overridden when setting it in .env.

At least for me I had to add an override in docker-compose.override.yml as follows:

services:
  api:
    environment:
    - MONGO_URI=mongodb://user:pass@host1:27017,host2:27017,host3:27017/LibreChat?authSource=admin&replicaSet=setname

I think you're right. To be honnest, I didn't fully test the community server setup when documenting it 😅

I'll add your proposed changes soon, thank for reporting this

I added your example to the docker note in the bottom of the document:

image