2024-07-12 23:57:29 -04:00
|
|
|
services:
|
|
|
|
ollama:
|
2024-12-17 15:01:34 -05:00
|
|
|
image: ollama/ollama:0.5.4
|
2024-07-12 23:57:29 -04:00
|
|
|
container_name: ollama
|
|
|
|
restart: unless-stopped
|
2024-09-22 14:26:39 -04:00
|
|
|
networks:
|
|
|
|
- ai-stack
|
2024-07-12 23:57:29 -04:00
|
|
|
volumes:
|
|
|
|
- ollama:/root/.ollama
|
|
|
|
ports:
|
|
|
|
- "11434:11434"
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
reservations:
|
|
|
|
devices:
|
|
|
|
- driver: nvidia
|
|
|
|
count: all
|
|
|
|
capabilities: [gpu]
|
|
|
|
|
|
|
|
open-webui:
|
2024-12-07 04:00:59 -05:00
|
|
|
image: ghcr.io/open-webui/open-webui:v0.4.8
|
2024-07-12 23:57:29 -04:00
|
|
|
container_name: open-webui
|
|
|
|
restart: unless-stopped
|
2024-09-22 14:26:39 -04:00
|
|
|
networks:
|
|
|
|
- ai-stack
|
|
|
|
environment:
|
|
|
|
- ENABLE_RAG_WEB_SEARCH=True
|
|
|
|
- RAG_WEB_SEARCH_ENGINE=searxng
|
|
|
|
- RAG_WEB_SEARCH_RESULT_COUNT=3
|
|
|
|
- RAG_WEB_SEARCH_CONCURRENT_REQUESTS=10
|
|
|
|
- SEARXNG_QUERY_URL=http://searxng:8080/search?q=<query>
|
2024-11-16 14:26:28 -05:00
|
|
|
- WEBUI_AUTH_TRUSTED_EMAIL_HEADER=Cf-Access-Authenticated-User-Email
|
2024-09-22 14:26:39 -04:00
|
|
|
- COMFYUI_BASE_URL=http://stable-diffusion-webui:7860
|
2024-07-12 23:57:29 -04:00
|
|
|
ports:
|
|
|
|
- 3000:8080
|
|
|
|
volumes:
|
|
|
|
- open-webui:/app/backend/data
|
|
|
|
extra_hosts:
|
|
|
|
- host.docker.internal:host-gateway
|
|
|
|
|
2024-09-22 14:26:39 -04:00
|
|
|
searxng:
|
2024-12-16 06:01:34 -05:00
|
|
|
image: searxng/searxng@sha256:a70424e067134667d01592f17ffbb12f6dd3977b73c542eb4879de51e3ac54d6
|
2024-09-22 14:26:39 -04:00
|
|
|
container_name: searxng
|
|
|
|
networks:
|
|
|
|
- ai-stack
|
|
|
|
environment:
|
|
|
|
- PUID=${PUID:-1000}
|
|
|
|
- PGID=${PGID:-1000}
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /docker/appdata/searxng:/etc/searxng
|
|
|
|
depends_on:
|
|
|
|
- ollama
|
|
|
|
- open-webui
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "8081:8080"
|
|
|
|
|
|
|
|
stable-diffusion-download:
|
|
|
|
build: /docker/appdata/stable-diffusion-webui-docker/services/download/
|
|
|
|
image: comfy-download
|
|
|
|
environment:
|
|
|
|
- PUID=${PUID:-1000}
|
|
|
|
- PGID=${PGID:-1000}
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /docker/appdata/stable-diffusion-webui-docker/data:/data
|
|
|
|
|
|
|
|
stable-diffusion-webui:
|
|
|
|
build: /docker/appdata/stable-diffusion-webui-docker/services/comfy/
|
|
|
|
image: comfy-ui
|
|
|
|
environment:
|
|
|
|
- PUID=${PUID:-1000}
|
|
|
|
- PGID=${PGID:-1000}
|
|
|
|
- CLI_ARGS=
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /docker/appdata/stable-diffusion-webui-docker/data:/data
|
|
|
|
- /docker/appdata/stable-diffusion-webui-docker/output:/output
|
|
|
|
stop_signal: SIGKILL
|
|
|
|
tty: true
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
reservations:
|
|
|
|
devices:
|
|
|
|
- driver: nvidia
|
|
|
|
device_ids: ['0']
|
|
|
|
capabilities: [compute, utility]
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- ai-stack
|
|
|
|
ports:
|
|
|
|
- "7860:7860"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
ai-stack:
|
|
|
|
external: true
|
|
|
|
|
2024-07-12 23:57:29 -04:00
|
|
|
volumes:
|
|
|
|
ollama:
|
|
|
|
external: true
|
|
|
|
open-webui:
|