Created
August 23, 2024 13:12
-
-
Save notthebee/1dfc5a82d13dd2bb6589a1e4747e03cf to your computer and use it in GitHub Desktop.
Ollama docker-compose
This file contains 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: | |
webui: | |
image: ghcr.io/open-webui/open-webui:main | |
ports: | |
- 8080:8080/tcp | |
environment: | |
- OLLAMA_BASE_URL=http://ollama:11434 | |
volumes: | |
- /var/opt/data/ollama/webui:/app/backend/data | |
depends_on: | |
- ollama | |
ollama: | |
image: ollama/ollama:rocm | |
ports: | |
- 11434:11434/tcp | |
volumes: | |
- /var/opt/data/ollama/ollama:/root/.ollama | |
devices: | |
- /dev/kfd | |
- /dev/dri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment