mongo-express/mongo-express

support connecting to multiple hosts

オープン

#458 opened on 2019/02/25

 (7 件のコメント) (8 件のリアクション) (0 人の担当者)JavaScript (1,025 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (5,982 個のスター)
PR merge metrics
 (平均マージ 4h 48m) (30d で 6 merged PRs)

説明

it is unclear and i assume not supported connecting to multiple hosts, only multiple databases on the same host. am i right? if i'm wrong, can you add in the docs an example?

my use case is that i'm using mongo-express in k8s and would like to configure it to multiple mongo hosts. right now it force me to create a separate mongo-express container for each mogno db, and i'd like to avoid it and save resources.

i don't want to use an interactive admin mode to configure these host, but rather do in yaml/config file can you add support for that?

the current config file seems to be relevant to a single host. maybe convert it to an array and try connecting to all these hosts?

コントリビューターガイド