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