forked from open-webui/open-webui
Merge pull request #1439 from justinh-rahb/rocm-compose
Add AMD Docker Compose config file
This commit is contained in:
commit
fafb8cd263
2 changed files with 10 additions and 2 deletions
8
docker-compose.amdgpu.yaml
Normal file
8
docker-compose.amdgpu.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
services:
|
||||||
|
ollama:
|
||||||
|
devices:
|
||||||
|
- /dev/kfd:/dev/kfd
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
image: ollama/ollama:${OLLAMA_DOCKER_TAG-rocm}
|
||||||
|
environment:
|
||||||
|
- 'HSA_OVERRIDE_GFX_VERSION=${HSA_OVERRIDE_GFX_VERSION-11.0.0}'
|
|
@ -8,7 +8,7 @@ services:
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
tty: true
|
tty: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:${OLLAMA_DOCKER_TAG-latest}
|
||||||
|
|
||||||
open-webui:
|
open-webui:
|
||||||
build:
|
build:
|
||||||
|
@ -16,7 +16,7 @@ services:
|
||||||
args:
|
args:
|
||||||
OLLAMA_BASE_URL: '/ollama'
|
OLLAMA_BASE_URL: '/ollama'
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
image: ghcr.io/open-webui/open-webui:${WEBUI_DOCKER_TAG-main}
|
||||||
container_name: open-webui
|
container_name: open-webui
|
||||||
volumes:
|
volumes:
|
||||||
- open-webui:/app/backend/data
|
- open-webui:/app/backend/data
|
||||||
|
|
Loading…
Reference in a new issue