Compare commits
3
Commits
fb692f3766
...
cccd7238cd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cccd7238cd | ||
|
|
43eff5399c | ||
|
|
65090d32e8 |
@@ -243,6 +243,7 @@
|
||||
|
||||
### Logging ###
|
||||
export OLLAMA_DEBUG=1
|
||||
export OLLAMA_METRICS=1 # (check http://127.0.0.1:11434/metrics)
|
||||
|
||||
### Other ###
|
||||
export OLLAMA_ORIGINS=*
|
||||
@@ -385,7 +386,7 @@
|
||||
-e WEBUI_SECRET_KEY={{ open_webui_key }} \
|
||||
-e OLLAMA_BASE_URL=http://host.docker.internal:11434 \
|
||||
--name open-webui \
|
||||
ghcr.io/open-webui/open-webui:main
|
||||
ghcr.io/open-webui/open-webui
|
||||
mode: "0755"
|
||||
|
||||
- name: Workstation | Linux | Software | LLMs | runit | open-webui | Script | Finish
|
||||
@@ -630,13 +631,13 @@
|
||||
alias ollama-stop-all="ollama_stop"
|
||||
|
||||
function ollama_chat() {
|
||||
ollama run {{ 'ollama3.8:27b' if ansible_memtotal_mb > 32000 else 'ollama3.5:4b' }}
|
||||
ollama run {{ 'qwen3.8:27b' if ansible_memtotal_mb > 32000 else 'qwen3.5:4b' }}
|
||||
}
|
||||
alias ollama-chat="ollama_chat "
|
||||
alias chat="ollama_chat "
|
||||
|
||||
function ollama_code() {
|
||||
ollama run {{ 'ollama3-coder:30b' if ansible_memtotal_mb > 32000 else 'ollama2.5-coder:7b' }}
|
||||
ollama run {{ 'qwen3-coder:30b' if ansible_memtotal_mb > 32000 else 'qwen2.5-coder:7b' }}
|
||||
}
|
||||
alias ollama-code="ollama_code "
|
||||
alias code="ollama_code "
|
||||
|
||||
Reference in new issue
Block a user