added compose override for data volume

This commit is contained in:
Daniele Viti 2023-12-24 13:38:06 +01:00
parent 3568be4da8
commit 017825e437

6
docker-compose.data.yaml Normal file
View file

@ -0,0 +1,6 @@
version: '3.8'
services:
ollama:
volumes:
- ${OLLAMA_DATA_DIR-./ollama-data}:/root/.ollama