You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/config-options.md
+64
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ List of all Config Options
9
9
10
10
### DOWNLOAD_DIR
11
11
12
+
| Environment Variable | PackageJson |
13
+
| :--------------------: | :-----------: |
14
+
|`MONGOMS_DOWNLOAD_DIR`|`downloadDir`|
15
+
12
16
Option `DOWNLOAD_DIR` is used to set where the binaries will be located in, this will overwrite all other directories
13
17
14
18
Directory Priority:
@@ -25,12 +29,20 @@ Format:
25
29
26
30
### PLATFORM
27
31
32
+
| Environment Variable | PackageJson |
33
+
| :------------------: | :---------: |
34
+
|`MONGOMS_PLATFORM`|`platform`|
35
+
28
36
Option `PLATFORM` is used to overwrite which platform should be downloaded
29
37
30
38
Valid Options are `win32`, `darwin`, `linux`, ~~`sunos`~~(never actually supported, [will be removed in 9.0](../guides/error-warning-details.md#mms002))
31
39
32
40
### ARCH
33
41
42
+
| Environment Variable | PackageJson |
43
+
| :------------------: | :---------: |
44
+
|`MONGOMS_ARCH`|`arch`|
45
+
34
46
Option `ARCH` is used to overwrite the Architecture to download for
35
47
36
48
Valid Options are `x64`, `arm64`, ~~`ia32`~~([will be removed in 9.0](../guides/error-warning-details.md#mms001))
@@ -39,6 +51,10 @@ Valid Options are `x64`, `arm64`, ~~`ia32`~~([will be removed in 9.0](../guides/
39
51
40
52
### VERSION
41
53
54
+
| Environment Variable | PackageJson |
55
+
| :------------------: | :---------: |
56
+
|`MONGOMS_VERSION`|`version`|
57
+
42
58
Option `VERSION` is used to set what mongodb version should be downloaded
43
59
44
60
Default: `5.0.8`
@@ -61,10 +77,18 @@ That is, a system binary version of `4.2.19-11-ge2f2736a` will match a mongodb r
61
77
62
78
### DEBUG
63
79
80
+
| Environment Variable | PackageJson |
81
+
| :------------------: | :---------: |
82
+
|`MONGOMS_DEBUG`|`debug`|
83
+
64
84
Option `DEBUG` is used to enable Debug Output
65
85
66
86
### DOWNLOAD_MIRROR
67
87
88
+
| Environment Variable | PackageJson |
89
+
| :-----------------------: | :--------------: |
90
+
|`MONGOMS_DOWNLOAD_MIRROR`|`downloadMirror`|
91
+
68
92
Option `DOWNLOAD_MIRROR` is used to set which mirror to use
69
93
70
94
Default / Format: `https://fastdl.mongodb.org` (protocol needs to be included)
@@ -77,20 +101,36 @@ It is discouraged to use query parameters, they may work, but not officially sup
77
101
78
102
### DOWNLOAD_URL
79
103
104
+
| Environment Variable | PackageJson |
105
+
| :--------------------: | :-----------: |
106
+
|`MONGOMS_DOWNLOAD_URL`|`downloadUrl`|
107
+
80
108
Option `DOWNLOAD_URL` is used to overwrite the ***complete*** URL (including [`DOWNLOAD_MIRROR`](#DOWNLOAD_MIRROR))
Option `SYSTEM_BINARY_VERSION_CHECK` is used to disable the version conflict check if [`SYSTEM_BINARY`](#system_binary) is set and version returned from `mongod_system_binary --version` does not match [`VERSION`](#version)
104
148
105
149
Default: `true`
106
150
107
151
### MD5_CHECK
108
152
153
+
| Environment Variable | PackageJson |
154
+
| :------------------: | :---------: |
155
+
|`MONGOMS_MD5_CHECK`|`md5Check`|
156
+
109
157
Option `MD5_CHECK` is used to enable an md5 check after download
110
158
111
159
Default: `false`
112
160
113
161
### ARCHIVE_NAME
114
162
163
+
| Environment Variable | PackageJson |
164
+
| :--------------------: | :-----------: |
165
+
|`MONGOMS_ARCHIVE_NAME`|`archiveName`|
166
+
115
167
Option `ARCHIVE_NAME` is used to overwrite the complete archive name
0 commit comments