Last active
March 9, 2025 16:20
-
-
Save SteelPh0enix/7fc07a24af30c648dd3e77f262456d27 to your computer and use it in GitHub Desktop.
Ollama + tika + OpenWebUI Docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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