services: - type: web name: socialmedia-api runtime: python plan: free buildCommand: pip install -r requirements.txt startCommand: uvicorn api.main:app --host 0.0.0.0 --port $PORT envVars: - key: GROQ_API_KEY sync: false # set manually in Render dashboard — never commit API keys - key: ALLOWED_ORIGINS sync: false # set to your Netlify URL after frontend is deployed - key: PYTHON_VERSION value: "3.10.12"