Skip to content

Is it possible to pass the MongoDB version for download without modifying the package.json? #590

Answered by hasezoey
nodermann asked this question in Q&A
Discussion options

You must be logged in to vote

Is it possible to pass the MongoDB version for download without modifying the package.json?

yes with environment variables, just prefix any config option at Config Options with MONGOMS_ as explained here


in your case you may want to overwrite the full download url, so use Config Options DOWNLOAD_URL like MONGOMS_DOWNLOAD_URL=https://your.com/path/to/the/archive.tgz


PS: you may want to upgrade the MMS version if possible, it is known that 4.0.16 is not existing for all platforms anymore, and later versions use higher versions already, as can be read here

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nodermann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #589 on December 27, 2021 18:24.