Unverified Commit a400df48 authored by Leisure Linux's avatar Leisure Linux Committed by GitHub
Browse files

docs: include port in faq.md OLLAMA_HOST examples (#8905)

parent 6ab4ba4c
...@@ -66,7 +66,7 @@ If Ollama is run as a macOS application, environment variables should be set usi ...@@ -66,7 +66,7 @@ If Ollama is run as a macOS application, environment variables should be set usi
1. For each environment variable, call `launchctl setenv`. 1. For each environment variable, call `launchctl setenv`.
```bash ```bash
launchctl setenv OLLAMA_HOST "0.0.0.0" launchctl setenv OLLAMA_HOST "0.0.0.0:11434"
``` ```
2. Restart Ollama application. 2. Restart Ollama application.
...@@ -81,7 +81,7 @@ If Ollama is run as a systemd service, environment variables should be set using ...@@ -81,7 +81,7 @@ If Ollama is run as a systemd service, environment variables should be set using
```ini ```ini
[Service] [Service]
Environment="OLLAMA_HOST=0.0.0.0" Environment="OLLAMA_HOST=0.0.0.0:11434"
``` ```
3. Save and exit. 3. Save and exit.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment