Skip to content
Snippets Groups Projects
Commit 1a894a65 authored by Marcin's avatar Marcin
Browse files

to work both in ci and host ollama use /tmp directory

parent 19d02eda
No related branches found
No related tags found
No related merge requests found
Pipeline #120034 failed
...@@ -11,6 +11,7 @@ services: ...@@ -11,6 +11,7 @@ services:
- OLLAMA_NUM_PARALLEL=16 - OLLAMA_NUM_PARALLEL=16
- OLLAMA_NUM_THREADS=16 - OLLAMA_NUM_THREADS=16
- OLLAMA_KEEP_ALIVE=-1 - OLLAMA_KEEP_ALIVE=-1
- OLLAMA_MODELS=/tmp/ollama
tty: true tty: true
ports: ports:
- "11435:11434" - "11435:11434"
...@@ -19,7 +20,7 @@ services: ...@@ -19,7 +20,7 @@ services:
volumes: volumes:
- type: bind - type: bind
source: ${HAF_DATA_DIRECTORY}/ollama source: ${HAF_DATA_DIRECTORY}/ollama
target: /root/.ollama target: /tmp/ollama
hivesense-install-schema: hivesense-install-schema:
image: ${HIVESENSE_IMAGE:-${HIVE_API_NODE_REGISTRY:-registry.hive.blog}/hivesense}:${HIVESENSE_VERSION:-${HIVE_API_NODE_VERSION}} image: ${HIVESENSE_IMAGE:-${HIVE_API_NODE_REGISTRY:-registry.hive.blog}/hivesense}:${HIVESENSE_VERSION:-${HIVE_API_NODE_VERSION}}
profiles: profiles:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment