mongo-express-docker icon indicating copy to clipboard operation
mongo-express-docker copied to clipboard

Support ME_CONFIG_MONGODB_URL

Open somdoron opened this issue 5 years ago • 4 comments

In order to support ME_CONFIG_MONGODB_URL, variable ME_CONFIG_MONGODB_SERVER must first be set to empty string. However, the docker-entrypoint is still trying to connect to the empty string. This fix stops the docker-entrypoint from connecting to an empty string.

somdoron avatar May 15 '19 12:05 somdoron

This seems sane to me -- any thoughts @knickers?

tianon avatar Jun 03 '19 23:06 tianon

Yeah, I like that. Thanks @somdoron.

On Mon, Jun 3, 2019, 5:10 PM Tianon Gravi [email protected] wrote:

This seems sane to me -- any thoughts @knickers https://github.com/knickers?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mongo-express/mongo-express-docker/pull/31?email_source=notifications&email_token=AAJF252Z2HH3EGZKMBK7KT3PYWQFFA5CNFSM4HNCWBKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW26B5A#issuecomment-498458868, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJF25YOWT637T7IHDZHBFTPYWQFFANCNFSM4HNCWBKA .

knickers avatar Jun 04 '19 03:06 knickers

I had just made the exact same pull-request (https://github.com/mongo-express/mongo-express-docker/pull/47)... why is this not being merged? Because there are no more releases for mongo-express?

chrismaes87 avatar Oct 02 '20 12:10 chrismaes87

Since the next version to be released is 1.0.0 (if it ever comes out), it might be the moment to also stop setting ME_CONFIG_MONGODB_SERVER="mongo". That default setting makes less sense with this pull-request: ME_CONFIG_MONGODB_SERVER is allowed to be empty.

chrismaes87 avatar Oct 02 '20 13:10 chrismaes87

ME_CONFIG_MONGODB_SERVER it's not valid (deprecated/unsafe old logic) because it's removed in https://github.com/mongo-express/mongo-express/pull/957.

FYI @BlackthornYugen @shakaran @tianon

rtritto avatar Jan 07 '24 01:01 rtritto