I have been struggling to get Ollama up and running on my new Jetson Orin Nano. I can get it running using jetson-containers but really want to go the docker-compose route. I can't keep the Ollama container running. Any assistance would be greatly appreciated
`services:
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
network_mode: "host"
environment:
- OLLAMA_BASE_URL=http://127.0.0.1:11434
volumes:
- "/home/pi/docker/open-webui:/app/backend/data"
restart: unless-stopped
ollama:
image: dustynv/ollama:r36.4.0
container_name: ollama
runtime: nvidia
environment:
- OLLAMA_MODELS=/ollama dustynv/ollama:r36.2.0
network_mode: "host"
shm_size: "8g"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "/home/pi/docker/ollama/data:/data"
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
- "/run/jtop.sock:/run/jtop.sock"
restart: unless-stopped`