Commit fb949415 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

Update compose.yaml

parent db4f673f
......@@ -2,20 +2,21 @@ version: '3.6'
services:
ollama:
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities:
- gpu
# Comment below for GPU support
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities:
# - gpu
volumes:
- ollama:/root/.ollama
ports:
- 11434:11434
environment:
- OLLAMA_ORIGINS="*"
- 'OLLAMA_ORIGINS=*'
container_name: ollama
pull_policy: always
tty: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment