services: ollama: image: ollama/ollama:latest volumes: - ollama:/root/.ollama # this solution synchronizes with the docker volume and loads the model rocket fast ports: - "11434:11434" command: [] volumes: ollama: