minhhungit / mongodb-cluster-docker-compose

docker-compose for mongodb cluster sharded with replication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I add authentication to the router servers?

zwsq opened this issue · comments

It works fine but I need to add auth to it. How should I do that? I tried to add env variables to the docker compse file but it does not work.