# render.yaml — Deploy NeuraChat on Render (Free Tier) # Documentation: https://render.com/docs/render-yaml services: - type: web name: neurachat-api env: python plan: free buildCommand: | pip install -r requirements.txt startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT rootDir: backend envVars: - key: ANTHROPIC_API_KEY sync: false # Set manually in Render dashboard - key: CORS_ORIGINS value: '["*"]' # For production, use: '["https://yourportfolio.com"]' - key: DEBUG value: "false" - key: LLM_MODEL value: "claude-opus-4-5" - key: EMBEDDING_MODEL value: "all-MiniLM-L6-v2" - key: DATA_DIR value: "../data/sample_knowledge_base" - key: VECTOR_STORE_PATH value: "./vector_store/faiss_index" # Persistent disk for vector store disk: name: neurachat-data mountPath: /var/data sizeGB: 1