Compare commits
2
Commits
fe4f23fdb0
...
e762e1231a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e762e1231a | ||
|
|
44ae9967f1 |
@@ -21,6 +21,8 @@
|
||||
# References
|
||||
# - https://docs.zeroclaw.com/master/en/reference/config.html
|
||||
# - https://docs.ollama.com
|
||||
# - https://docs.ollama.com/faq#setting-environment-variables-on-linux
|
||||
# - https://modelpiper.com/blog/ollama-environment-variables
|
||||
|
||||
# Currently only testing this on Arch based distros (pacman).
|
||||
- name: Workstation | Linux | Software | LLMs
|
||||
@@ -207,8 +209,6 @@
|
||||
owner: "{{ user }}"
|
||||
mode: "0755"
|
||||
|
||||
# https://docs.ollama.com/faq#setting-environment-variables-on-linux
|
||||
# https://modelpiper.com/blog/ollama-environment-variables
|
||||
- name: Workstation | Linux | Software | LLMs | runit | ollama | Script | Run
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ ollama_runit_script }}"
|
||||
@@ -385,8 +385,9 @@
|
||||
exec docker run \
|
||||
--rm \
|
||||
--name open-webui \
|
||||
--network=host -e PORT={{ open_webui_port }} \
|
||||
-v open-webui:/app/backend/data \
|
||||
--network=host -e PORT={{ open_webui_port }} \
|
||||
-e OLLAMA_BASE_URL=http://localhost:11434 \
|
||||
{{ ("-e HF_TOKEN=" ~ hf_token) if hf_token else '' }} \
|
||||
-e WEBUI_SECRET_KEY={{ open_webui_key }} \
|
||||
ghcr.io/open-webui/open-webui:main
|
||||
|
||||
Reference in new issue
Block a user