update the FAQ to be more clear about windows env variables (#4415)
This commit is contained in:
parent
6845988807
commit
f1548ef62d
16
docs/faq.md
16
docs/faq.md
|
@ -80,17 +80,19 @@ If Ollama is run as a systemd service, environment variables should be set using
|
||||||
|
|
||||||
### Setting environment variables on Windows
|
### Setting environment variables on Windows
|
||||||
|
|
||||||
On windows, Ollama inherits your user and system environment variables.
|
On Windows, Ollama inherits your user and system environment variables.
|
||||||
|
|
||||||
1. First Quit Ollama by clicking on it in the task bar
|
1. First Quit Ollama by clicking on it in the task bar.
|
||||||
|
|
||||||
2. Edit system environment variables from the control panel
|
2. Start the Settings (Windows 11) or Control Panel (Windows 10) application and search for _environment variables_.
|
||||||
|
|
||||||
3. Edit or create New variable(s) for your user account for `OLLAMA_HOST`, `OLLAMA_MODELS`, etc.
|
3. Click on _Edit environment variables for your account_.
|
||||||
|
|
||||||
4. Click OK/Apply to save
|
4. Edit or create a new variable for your user account for `OLLAMA_HOST`, `OLLAMA_MODELS`, etc.
|
||||||
|
|
||||||
5. Run `ollama` from a new terminal window
|
5. Click OK/Apply to save.
|
||||||
|
|
||||||
|
6. Start the Ollama application from the Windows Start menu.
|
||||||
|
|
||||||
|
|
||||||
## How can I expose Ollama on my network?
|
## How can I expose Ollama on my network?
|
||||||
|
@ -237,4 +239,4 @@ If you wish to override the `OLLAMA_KEEP_ALIVE` setting, use the `keep_alive` AP
|
||||||
|
|
||||||
If too many requests are sent to the server, it will respond with a 503 error
|
If too many requests are sent to the server, it will respond with a 503 error
|
||||||
indicating the server is overloaded. You can adjust how many requests may be
|
indicating the server is overloaded. You can adjust how many requests may be
|
||||||
queue by setting `OLLAMA_MAX_QUEUE`
|
queue by setting `OLLAMA_MAX_QUEUE`
|
||||||
|
|
Loading…
Reference in a new issue