diff --git a/ollama/docker-compose.yml b/ollama/docker-compose.yml new file mode 100755 index 0000000..5398ddb --- /dev/null +++ b/ollama/docker-compose.yml @@ -0,0 +1,19 @@ +services: + ollama: + image: ollama/ollama:rocm + container_name: ollama + restart: unless-stopped + devices: + - "/dev/kfd" + - "/dev/dri" + volumes: + - ollama_models:/root/.ollama + environment: + - HSA_OVERRIDE_GFX_VERSION=11.0.0 + ports: + - "11434:11434" + dns: + - "8.8.8.8" + +volumes: + ollama_models: \ No newline at end of file