version: '3.8' services: postgres: image: pgvector/pgvector:pg16 environment: POSTGRES_DB: mcpserver POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres ports: - "5432:5432" healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d mcpserver"] interval: 5s timeout: 5s retries: 10 ollama: image: ollama/ollama:latest ports: - "11434:11434" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:11434/api/tags"] interval: 10s timeout: 5s retries: 10