1+ # render.yaml
2+ # Blueprint for deploying the Sentient backend on Render.
3+ # This defines the main API, all MCP servers, and the background workers.
4+ services :
5+ # 1. Main FastAPI Server (Public Web Service)
6+ - type : web
7+ runtime : python
8+ name : main-server
9+ region : oregon # Or your preferred region
10+ plan : free # Can be upgraded later
11+ buildCommand : |
12+ pip install --upgrade pip
13+ pip install -r src/server/requirements.txt
14+ startCommand : uvicorn server.main.app:app --host 0.0.0.0 --port $PORT
15+ healthCheckPath : /health
16+ envVars :
17+ - fromGroup : sentient-env
18+ - key : PYTHON_VERSION
19+ value : 3.11.5
20+ # 2. Celery Worker (Background Worker)
21+ - type : worker
22+ runtime : python
23+ name : celery-worker
24+ region : oregon
25+ plan : free
26+ buildCommand : |
27+ pip install --upgrade pip
28+ pip install -r src/server/requirements.txt
29+ startCommand : celery -A server.celery_app worker --loglevel=info --pool=solo
30+ envVars :
31+ - fromGroup : sentient-env
32+ - key : PYTHON_VERSION
33+ value : 3.11.5
34+ # 3. Polling & Extractor Workers (Background Workers)
35+ - type : worker
36+ runtime : python
37+ name : poller-extractor-workers
38+ region : oregon
39+ plan : free
40+ buildCommand : |
41+ pip install --upgrade pip
42+ pip install -r src/server/requirements.txt
43+ startCommand : |
44+ python -m server.workers.pollers.gmail.main &
45+ python -m server.workers.pollers.gcalendar.main &
46+ python -m server.workers.extractors.main &
47+ wait
48+ envVars :
49+ - fromGroup : sentient-env
50+ - key : PYTHON_VERSION
51+ value : 3.11.5
52+ # 4. MCP Servers
53+ - type : pserv
54+ runtime : python
55+ name : memory-mcp
56+ region : oregon
57+ plan : free
58+ buildCommand : |
59+ pip install --upgrade pip
60+ pip install -r src/server/mcp-hub/memory/requirements.txt
61+ startCommand : python -m server.mcp-hub.memory.main
62+ envVars :
63+ - fromGroup : sentient-env
64+ - key : PYTHON_VERSION
65+ value : 3.11.5
66+ - key : MCP_SERVER_PORT
67+ value : 8001
68+ - type : pserv
69+ runtime : python
70+ name : gmail-mcp
71+ region : oregon
72+ plan : free
73+ buildCommand : |
74+ pip install --upgrade pip
75+ pip install -r src/server/mcp-hub/gmail/requirements.txt
76+ startCommand : python -m server.mcp-hub.gmail.main
77+ envVars :
78+ - fromGroup : sentient-env
79+ - key : PYTHON_VERSION
80+ value : 3.11.5
81+ - key : MCP_SERVER_PORT
82+ value : 9001
83+ - type : pserv
84+ runtime : python
85+ name : gcal-mcp
86+ region : oregon
87+ plan : free
88+ buildCommand : |
89+ pip install --upgrade pip
90+ pip install -r src/server/mcp-hub/gcal/requirements.txt
91+ startCommand : python -m server.mcp-hub.gcal.main
92+ envVars :
93+ - fromGroup : sentient-env
94+ - key : PYTHON_VERSION
95+ value : 3.11.5
96+ - key : MCP_SERVER_PORT
97+ value : 9002
98+ - type : pserv
99+ runtime : python
100+ name : gdrive-mcp
101+ region : oregon
102+ plan : free
103+ buildCommand : |
104+ pip install --upgrade pip
105+ pip install -r src/server/mcp-hub/gdrive/requirements.txt
106+ startCommand : python -m server.mcp-hub.gdrive.main
107+ envVars :
108+ - fromGroup : sentient-env
109+ - key : PYTHON_VERSION
110+ value : 3.11.5
111+ - key : MCP_SERVER_PORT
112+ value : 9003
113+ - type : pserv
114+ runtime : python
115+ name : gdocs-mcp
116+ region : oregon
117+ plan : free
118+ buildCommand : |
119+ pip install --upgrade pip
120+ pip install -r src/server/mcp-hub/gdocs/requirements.txt
121+ startCommand : python -m server.mcp-hub.gdocs.main
122+ envVars :
123+ - fromGroup : sentient-env
124+ - key : PYTHON_VERSION
125+ value : 3.11.5
126+ - key : MCP_SERVER_PORT
127+ value : 9004
128+ - type : pserv
129+ runtime : python
130+ name : gsheets-mcp
131+ region : oregon
132+ plan : free
133+ buildCommand : |
134+ pip install --upgrade pip
135+ pip install -r src/server/mcp-hub/gsheets/requirements.txt
136+ startCommand : python -m server.mcp-hub.gsheets.main
137+ envVars :
138+ - fromGroup : sentient-env
139+ - key : PYTHON_VERSION
140+ value : 3.11.5
141+ - key : MCP_SERVER_PORT
142+ value : 9015
143+ - type : pserv
144+ runtime : python
145+ name : gslides-mcp
146+ region : oregon
147+ plan : free
148+ buildCommand : |
149+ pip install --upgrade pip
150+ pip install -r src/server/mcp-hub/gslides/requirements.txt
151+ startCommand : python -m server.mcp-hub.gslides.main
152+ envVars :
153+ - fromGroup : sentient-env
154+ - key : PYTHON_VERSION
155+ value : 3.11.5
156+ - key : MCP_SERVER_PORT
157+ value : 9014
158+ - type : pserv
159+ runtime : python
160+ name : google-search-mcp
161+ region : oregon
162+ plan : free
163+ buildCommand : |
164+ pip install --upgrade pip
165+ pip install -r src/server/mcp-hub/google_search/requirements.txt
166+ startCommand : python -m server.mcp-hub.google_search.main
167+ envVars :
168+ - fromGroup : sentient-env
169+ - key : PYTHON_VERSION
170+ value : 3.11.5
171+ - key : MCP_SERVER_PORT
172+ value : 9005
173+ - type : pserv
174+ runtime : python
175+ name : slack-mcp
176+ region : oregon
177+ plan : free
178+ buildCommand : |
179+ pip install --upgrade pip
180+ pip install -r src/server/mcp-hub/slack/requirements.txt
181+ startCommand : python -m server.mcp-hub.slack.main
182+ envVars :
183+ - fromGroup : sentient-env
184+ - key : PYTHON_VERSION
185+ value : 3.11.5
186+ - key : MCP_SERVER_PORT
187+ value : 9006
188+ - type : pserv
189+ runtime : python
190+ name : accuweather-mcp
191+ region : oregon
192+ plan : free
193+ buildCommand : |
194+ pip install --upgrade pip
195+ pip install -r src/server/mcp-hub/accuweather/requirements.txt
196+ startCommand : python -m server.mcp-hub.accuweather.main
197+ envVars :
198+ - fromGroup : sentient-env
199+ - key : PYTHON_VERSION
200+ value : 3.11.5
201+ - key : MCP_SERVER_PORT
202+ value : 9007
203+ - type : pserv
204+ runtime : python
205+ name : quickchart-mcp
206+ region : oregon
207+ plan : free
208+ buildCommand : |
209+ pip install --upgrade pip
210+ pip install -r src/server/mcp-hub/quickchart/requirements.txt
211+ startCommand : python -m server.mcp-hub.quickchart.main
212+ envVars :
213+ - fromGroup : sentient-env
214+ - key : PYTHON_VERSION
215+ value : 3.11.5
216+ - key : MCP_SERVER_PORT
217+ value : 9008
218+ - type : pserv
219+ runtime : python
220+ name : notion-mcp
221+ region : oregon
222+ plan : free
223+ buildCommand : |
224+ pip install --upgrade pip
225+ pip install -r src/server/mcp-hub/notion/requirements.txt
226+ startCommand : python -m server.mcp-hub.notion.main
227+ envVars :
228+ - fromGroup : sentient-env
229+ - key : PYTHON_VERSION
230+ value : 3.11.5
231+ - key : MCP_SERVER_PORT
232+ value : 9009
233+ - type : pserv
234+ runtime : python
235+ name : github-mcp
236+ region : oregon
237+ plan : free
238+ buildCommand : |
239+ pip install --upgrade pip
240+ pip install -r src/server/mcp-hub/github/requirements.txt
241+ startCommand : python -m server.mcp-hub.github.main
242+ envVars :
243+ - fromGroup : sentient-env
244+ - key : PYTHON_VERSION
245+ value : 3.11.5
246+ - key : MCP_SERVER_PORT
247+ value : 9010
248+ - type : pserv
249+ runtime : python
250+ name : progress-updater-mcp
251+ region : oregon
252+ plan : free
253+ buildCommand : |
254+ pip install --upgrade pip
255+ pip install -r src/server/mcp-hub/progress_updater/requirements.txt
256+ startCommand : python -m server.mcp-hub.progress_updater.main
257+ envVars :
258+ - fromGroup : sentient-env
259+ - key : PYTHON_VERSION
260+ value : 3.11.5
261+ - key : MCP_SERVER_PORT
262+ value : 9011
263+ - type : pserv
264+ runtime : python
265+ name : news-mcp
266+ region : oregon
267+ plan : free
268+ buildCommand : |
269+ pip install --upgrade pip
270+ pip install -r src/server/mcp-hub/news/requirements.txt
271+ startCommand : python -m server.mcp-hub.news.main
272+ envVars :
273+ - fromGroup : sentient-env
274+ - key : PYTHON_VERSION
275+ value : 3.11.5
276+ - key : MCP_SERVER_PORT
277+ value : 9012
278+ - type : pserv
279+ runtime : python
280+ name : chat-tools-mcp
281+ region : oregon
282+ plan : free
283+ buildCommand : |
284+ pip install --upgrade pip
285+ pip install -r src/server/mcp-hub/chat_tools/requirements.txt
286+ startCommand : python -m server.mcp-hub.chat_tools.main
287+ envVars :
288+ - fromGroup : sentient-env
289+ - key : PYTHON_VERSION
290+ value : 3.11.5
291+ - key : MCP_SERVER_PORT
292+ value : 9013
0 commit comments