-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
40 lines (35 loc) Β· 1.63 KB
/
Copy pathrender.yaml
File metadata and controls
40 lines (35 loc) Β· 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# render.yaml β Render deployment configuration
# This file tells Render exactly how to build and run MailForge's backend.
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
services:
- type: web
name: mailforge-api
env: python
plan: free
rootDir: .
buildCommand: "pip install -r requirements.txt"
startCommand: "uvicorn app.api:app --host 0.0.0.0 --port $PORT"
envVars:
# REQUIRED β Set this in the Render dashboard after deploying
- key: GROQ_API_KEY
sync: false # Never synced from file β must be set in dashboard
# Set this to your Vercel frontend URL after deploying the frontend
- key: ALLOWED_ORIGINS
sync: false # e.g., https://mailforge.vercel.app
# App config
- key: ENV
value: production
- key: LOG_LEVEL
value: INFO
- key: LLM_MODEL
value: llama-3.1-8b-instant
- key: LLM_TEMPERATURE
value: "0"
# Company defaults (override in dashboard or leave for users to set via UI)
- key: COMPANY_NAME
value: "Your Company Name"
- key: FOUNDER_NAME
value: "Your Name"
- key: COMPANY_DESCRIPTION
value: "a leading technology consulting company"