Split out Cuda and Rocm | Update
Docker Build and Release Upload / build (push) Has been cancelled

This commit is contained in:
2026-04-16 17:03:53 -07:00
parent 3b94f7238d
commit d390f36947
6 changed files with 186 additions and 41 deletions
+81
View File
@@ -0,0 +1,81 @@
services:
ollama:
container_name: ai-ollama
pull_policy: always
tty: true
restart: unless-stopped
image: docker.io/ollama/ollama:latest
volumes:
- ./data/ollama/ollama:/root/.ollama
ports:
- 7869:11434
environment:
- OLLAMA_KEEP_ALIVE=24h
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
ollama-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: ai-ollama-webui
volumes:
- ./data/ollama/ollama-webui:/app/backend/data
depends_on:
- ollama
ports:
- 8009:8080
environment: # https://docs.openwebui.com/getting-started/env-configuration#default_models
- OLLAMA_BASE_URLS=http://host.docker.internal:7869
- ENV=prod
- WEBUI_AUTH=True
- WEBUI_NAME=Mistox AI
- WEBUI_URL=http://ai.mistox.net:8080
- WEBUI_SECRET_KEY=aops8gh948g@#50dfg00f
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
searxng:
image: docker.io/searxng/searxng:latest
container_name: ai-searxng
restart: always
volumes:
- ./data/searxng/config:/etc/searxng
- ./data/searxng/data:/var/cache/searxng
ai-uvicorn:
container_name: ai-uvicorn
image: mistox/uvicorn-ampere
ports:
- 8000:8000
- 5678:5678
volumes:
- uvicorn-src:/code/ollama-docker
restart: always
depends_on:
- ollama
- ollama-webui
comfyui:
container_name: ai-comfyui
image: mistox/comfyui-cuda-ampere
volumes:
- ./data/comfyui/models:/app/comfyui/models
- ./data/comfyui/output:/app/comfyui/output
ports:
- 8010:8188
restart: always
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes:
uvicorn-src: