-
-
Save mohitsethi/cee763e7a149ccd42bdfe79d7e52af51 to your computer and use it in GitHub Desktop.
Ollama 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: | |
| 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