/nginx.conf:/etc/nginx/nginx.conf:ro depends_on: - ollama-1 - ollama-2 ollama-1: "-f", "http://localhost:11434/api/tags"] interval: 30s timeout: 10s retries: 3 ollama http { upstream ollama_cluster { least_conn; server ollama-1:11434; server ollama
"CMD","curl","-f","http://localhost:11434/api/tags"]interval:30stimeout:10sretries:3#Ollama实例2(GPU1)ollama
renderD128 # GPU 0 ports: - "11434:11434" volumes: - ollama_data:/root/.ollama ollama