"git@developer.sourcefind.cn:change/sglang.git" did not exist on "7ff93e613ff8c924a8c7e29145e6effa107a4c1b"
Unverified Commit b5059ad6 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #44 from ollama-webui/dev

fix: Update compose.yaml
parents cb63d9f0 a24845dd
...@@ -2,20 +2,21 @@ version: '3.6' ...@@ -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
......
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