Docker Compose files

This commit is contained in:
Shang Chieh Tseng
2025-03-28 18:10:16 +08:00
commit e9a3b99dca
2 changed files with 33 additions and 0 deletions

16
ollama/docker-compose.yml Normal file
View File

@@ -0,0 +1,16 @@
version: '3.8'
services:
ollama:
image: ollama/ollama
container_name: ollama
runtime: nvidia
ports:
- "11434:11434"
volumes:
- ollama:/root/.ollama
restart: always
volumes:
ollama:

View File

@@ -0,0 +1,17 @@
version: '3.8'
services:
open-webui:
image: ghcr.io/open-webui/open-webui:cuda
container_name: open-webui
ports:
- "8080:8080"
runtime: nvidia
volumes:
- open-webui:/app/backend/data
restart: always
privileged: true
volumes:
open-webui: