Skip to content

Instantly share code, notes, and snippets.

@SteelPh0enix
Last active March 9, 2025 16:20
Show Gist options
  • Save SteelPh0enix/7fc07a24af30c648dd3e77f262456d27 to your computer and use it in GitHub Desktop.
Save SteelPh0enix/7fc07a24af30c648dd3e77f262456d27 to your computer and use it in GitHub Desktop.
Ollama + tika + OpenWebUI Docker-compose
services:
ollama:
image: ollama/ollama:rocm
container_name: ollama
pull_policy: always
devices:
- /dev/kfd
- /dev/dri
volumes:
- /home/steelph0enix/LLMs:/models/external
- /home/steelph0enix/.ollama:/root/.ollama
environment:
- OLLAMA_FLASH_ATTENTION=1
tty: true
ports:
- 11434:11434
restart: unless-stopped
tika:
image: apache/tika:latest-full
container_name: tika
pull_policy: always
ports:
- 9998:9998
restart: unless-stopped
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
pull_policy: always
volumes:
- /home/steelph0enix/.openwebui:/app/backend/data
depends_on:
- ollama
- tika
ports:
- 55569:8080
environment:
- ENABLE_SIGNUP=False
- ENABLE_LOGIN_FORM=False
- DEFAULT_USER_ROLE=admin
- ENABLE_API_KEY_ENDPOINT_RESTRICTIONS=False
- ENABLE_OPENAI_API=False
- WEBUI_AUTH=False
- OLLAMA_BASE_URL=http://ollama:11434
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment