We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f873e commit 2ff7e50Copy full SHA for 2ff7e50
1 file changed
roles/ollama-serve/defaults/main.yml
@@ -1,9 +1,11 @@
1
#SPDX-License-Identifier: MIT-0
2
---
3
# defaults file for ollama-serve
4
+ollama_serve_fqdn: "http://localhost:3000"
5
ollama_serve_model_dir: /opt/ollama/models
6
ollama_serve_env:
7
OLLAMA_FLASH_ATTENTION: "1"
8
OLLAMA_MODELS: "{{ ollama_serve_model_dir }}"
9
+ CORS_ALLOW_ORIGIN: "{{ ollama_serve_fqdn }}"
10
ollama_serve_model: ""
11
ollama_serve_version: 12.0.10
0 commit comments