62 lines
1.2 KiB
YAML
62 lines
1.2 KiB
YAML
|
|
services:
|
|
ollama:
|
|
image: ollama/ollama:rocm
|
|
container_name: ollama
|
|
ports:
|
|
- 11434:11434
|
|
volumes:
|
|
- ./ollama:/root/.ollama
|
|
devices:
|
|
- /dev/kfd # Grant access to /dev/kfd device
|
|
- /dev/dri # Grant access to /dev/dri device
|
|
networks:
|
|
- chat-ui
|
|
restart: unless-stopped
|
|
|
|
open-webui:
|
|
image: ghcr.io/open-webui/open-webui:main
|
|
container_name: open-WebUI
|
|
ports:
|
|
- "3000:8080"
|
|
volumes:
|
|
- ./open-webui:/app/backend/data
|
|
depends_on:
|
|
- ollama
|
|
environment:
|
|
- OLLAMA_BASE_URL=http://ollama:11434
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
restart: unless-stopped
|
|
networks:
|
|
- chat-ui
|
|
|
|
searxng:
|
|
container_name: searxng
|
|
image: searxng/searxng:latest
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ./searxng:/etc/searxng:rw
|
|
env_file:
|
|
- .env
|
|
restart: unless-stopped
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
- SETGID
|
|
- SETUID
|
|
- DAC_OVERRIDE
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "1m"
|
|
max-file: "1"
|
|
networks:
|
|
- chat-ui
|
|
|
|
networks:
|
|
chat-ui:
|
|
driver: bridge
|