I want run ollama with docker-compose and using nvidia-gpu. What should I write in the docker-compose.yml file?
I run ollama with docker-compose, but gpu was not been used, this is what i write:
ollama:
container_name: ollama
image: ollama/ollama:rocm
ports:
- 11434:11434
volumes:
- ollama:/root/.ollama
networks:
- fastgpt
restart: always
I need a docker-compose.yaml file example.
