-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
44 lines (43 loc) · 1.17 KB
/
Copy pathrender.yaml
File metadata and controls
44 lines (43 loc) · 1.17 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
41
42
43
44
# Render.com blueprint for GenieF1
#
# To deploy:
# 1. Push this repo to GitHub
# 2. Go to https://dashboard.render.com/blueprints
# 3. Click "New Blueprint Instance" and connect this repo
# 4. Render will read this file and create the services
# 5. Add environment variables in the dashboard
#
services:
- type: web
name: genief1-backend
runtime: python
plan: free
rootDir: backend
buildCommand: pip install -r requirements.txt
startCommand: python main.py
healthCheckPath: /api/status
envVars:
- key: PYTHON_VERSION
value: "3.12.0"
- key: ALLOWED_ORIGINS
value: "https://f1.numeri.us,http://localhost:3000"
- key: GROQ_API_KEY
sync: false
- key: STRIPE_SECRET_KEY
sync: false
- key: STRIPE_WEBHOOK_SECRET
sync: false
- key: DISCORD_BOT_TOKEN
sync: false
- type: web
name: genief1-frontend
runtime: node
plan: free
rootDir: frontend
buildCommand: pnpm install && pnpm build
startCommand: pnpm start
envVars:
- key: NODE_VERSION
value: "20"
- key: NEXT_PUBLIC_API_BASE
value: "https://genief1-backend.onrender.com"