diff --git a/docker-compose-ollama-gpu.yaml b/docker-compose-ollama-gpu.yaml index fd9fe37..e4de6b6 100644 --- a/docker-compose-ollama-gpu.yaml +++ b/docker-compose-ollama-gpu.yaml @@ -1,6 +1,19 @@ version: '3.8' services: + app: + build: . + ports: + - 8000:8000 + - 5678:5678 + volumes: + - .:/code + command: uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload + restart: always + depends_on: + - ollama + - ollama-webui + ollama: volumes: - ./ollama/ollama:/root/.ollama