updated ollama

This commit is contained in:
ArnabChatterjee20k
2026-03-11 15:51:27 +05:30
parent 4f3468de7b
commit 3ddc073874
+4 -7
View File
@@ -1337,17 +1337,14 @@ services:
command: "postgres"
ollama:
build:
context: https://github.com/appwrite/docker-ollama.git#feat-dockerfile
args:
MODELS: ${_APP_EMBEDDING_MODELS:-embeddinggemma}
# duration to keep model in memory
OLLAMA_KEEP_ALIVE: -1
image: appwrite/ollama:0.1.1
container_name: ollama
ports:
- "11434:11434"
restart: unless-stopped
# persistent for caching models across restarts and preloading
environment:
MODELS: ${_APP_EMBEDDING_MODELS:-embeddinggemma}
OLLAMA_KEEP_ALIVE: 24h
volumes:
- appwrite-models:/root/.ollama
networks: