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
By default, MindsDB stores the configuration files by determining appropriate platform-specific directories, e.g. a "user data dir":
47
+
By default, MindsDB stores the configuration files by determining appropriate platform-specific directories, e.g. a "user data dir":
45
48
46
-
* On Linux `~/.local/share/mindsdb/var`
47
-
* On MacOS `~/Library/Application Support/mindsdb/var`
48
-
* On Windows `C:\Documents and Settings\<User>\Application Data\Local Settings\<AppAuthor>\mindsdb\var`
49
+
- On Linux `~/.local/share/mindsdb/var`
50
+
- On MacOS `~/Library/Application Support/mindsdb/var`
51
+
- On Windows `C:\Documents and Settings\<User>\Application Data\Local Settings\<AppAuthor>\mindsdb\var`
49
52
50
-
In the `MINDSDB_STORAGE_DIR` location, MindsDB stores users' data, models and uploaded data files, the static assets for the frontend application and the
51
-
`sqlite.db` file.
53
+
In the `MINDSDB_STORAGE_DIR` location, MindsDB stores users' data, models and uploaded data files, the static assets for the frontend application and the
54
+
`sqlite.db` file.
52
55
You can change the default storage location using `MINDSDB_STORAGE_DIR` variable.
53
56
54
57
### Example
@@ -61,26 +64,31 @@ You can change the default storage location using `MINDSDB_STORAGE_DIR` variable
61
64
```bash Shell
62
65
export MINDSDB_STORAGE_DIR='~/home/mindsdb/var'
63
66
```
67
+
64
68
</CodeGroup>
65
69
66
-
## MindsDB Configuration Storage
70
+
## MindsDB Configuration Storage
67
71
68
-
MindsDB uses `sqlite` database by default to store the required configuration as models, projects, files metadata etc.
69
-
The full list of the above schemas can be found [here](https://github.com/mindsdb/mindsdb/blob/main/mindsdb/interfaces/storage/db.py#L69). You can change the
72
+
MindsDB uses `sqlite` database by default to store the required configuration as models, projects, files metadata etc.
73
+
The full list of the above schemas can be found [here](https://github.com/mindsdb/mindsdb/blob/main/mindsdb/interfaces/storage/db.py#L69). You can change the
70
74
default storage option and use different database by adding the new connection string using `MINDSDB_DB_CON` variable.
-**Description:** Sets file log level and enables file logging
137
+
-**Default:**`INFO` (disabled by default)
138
+
-**Example:**`MINDSDB_FILE_LOG_LEVEL=DEBUG`
139
+
116
140
## MindsDB Default Project
117
141
118
142
By default, MindsDB creates a project named `mindsdb` where all the models and other objects are stored. You can change the default project name by setting the `MINDSDB_DEFAULT_PROJECT` environment variable.
@@ -129,8 +153,30 @@ If this environment variable is set or modified after MindsDB has started, the d
129
153
```bash Shell
130
154
export MINDSDB_DEFAULT_PROJECT='my_project'
131
155
```
156
+
132
157
</CodeGroup>
133
158
159
+
#### `MINDSDB_DEFAULT_LLM_API_KEY`
160
+
161
+
-**Type:** String
162
+
-**Description:** API key for default LLM (Large Language Model)
163
+
-**Default:** None
164
+
-**Example:**`MINDSDB_DEFAULT_LLM_API_KEY=sk-...`
165
+
166
+
#### `MINDSDB_DEFAULT_EMBEDDING_MODEL_API_KEY`
167
+
168
+
-**Type:** String
169
+
-**Description:** API key for default embedding model
When running MindsDB via [Docker](/setup/self-hosted/docker) or [Docker Extension](/setup/self-hosted/docker-desktop), the PID file is not used by default. Users can opt for enabling the PID file by defining the `USE_PIDFILE` environment variable.
@@ -147,6 +193,7 @@ If used, the PID file is stored in the temp directory (`$TMPDIR` on MacOS and Li
147
193
```bash Shell
148
194
export USE_PIDFILE=1
149
195
```
196
+
150
197
</CodeGroup>
151
198
152
199
## MindsDB GUI Updates
@@ -165,6 +212,7 @@ By default, the automatic GUI updates are enabled and the `MINDSDB_GUI_AUTOUPDAT
165
212
```bash Shell
166
213
export MINDSDB_GUI_AUTOUPDATE=false
167
214
```
215
+
168
216
</CodeGroup>
169
217
170
218
## MindsDB GUI Startup and Updates
@@ -185,4 +233,113 @@ Note that the `MINDSDB_NO_STUDIO` is not recommended for the MindsDB instance ru
185
233
```bash Shell
186
234
export MINDSDB_NO_STUDIO=true
187
235
```
236
+
188
237
</CodeGroup>
238
+
239
+
### ML Task Queue
240
+
241
+
#### `MINDSDB_ML_QUEUE_TYPE`
242
+
243
+
-**Type:** String (`local`, `redis`)
244
+
-**Description:** Type of ML task queue to use
245
+
-**Default:**`local`
246
+
-**Example:**`MINDSDB_ML_QUEUE_TYPE=redis`
247
+
248
+
#### `MINDSDB_ML_QUEUE_HOST`
249
+
250
+
-**Type:** String (hostname)
251
+
-**Description:** Redis host for ML task queue (only when `MINDSDB_ML_QUEUE_TYPE=redis`)
0 commit comments