forked from open-webui/open-webui
Update compose.yaml
This commit is contained in:
parent
db4f673f99
commit
fb94941541
1 changed files with 10 additions and 9 deletions
19
compose.yaml
19
compose.yaml
|
@ -2,20 +2,21 @@ version: '3.6'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ollama:
|
ollama:
|
||||||
deploy:
|
# Comment below for GPU support
|
||||||
resources:
|
# deploy:
|
||||||
reservations:
|
# resources:
|
||||||
devices:
|
# reservations:
|
||||||
- driver: nvidia
|
# devices:
|
||||||
count: 1
|
# - driver: nvidia
|
||||||
capabilities:
|
# count: 1
|
||||||
- gpu
|
# capabilities:
|
||||||
|
# - gpu
|
||||||
volumes:
|
volumes:
|
||||||
- ollama:/root/.ollama
|
- ollama:/root/.ollama
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 11434:11434
|
||||||
environment:
|
environment:
|
||||||
- OLLAMA_ORIGINS="*"
|
- 'OLLAMA_ORIGINS=*'
|
||||||
container_name: ollama
|
container_name: ollama
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
tty: true
|
tty: true
|
||||||
|
|
Loading…
Reference in a new issue