-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
37 lines (35 loc) · 1.09 KB
/
render.yaml
File metadata and controls
37 lines (35 loc) · 1.09 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
services:
# Backend API
- type: web
name: cipherpool-api
runtime: python
plan: free
region: oregon
buildCommand: cd backend && pip install -r requirements.txt
startCommand: cd backend && gunicorn app:app --bind 0.0.0.0:$PORT
envVars:
- key: PYTHON_VERSION
value: 3.11.0
- key: SOLANA_RPC_URL
value: https://api.devnet.solana.com
- key: PROGRAM_ID
value: CVt38TQyUSb6PBqdUwmDvxzuNsLJdrY16t78eQ3P7g41
# Frontend (Next.js as static site or web service)
- type: web
name: cipherpool-frontend
runtime: node
plan: free
region: oregon
buildCommand: cd frontend && npm install && npm run build
startCommand: cd frontend && npm start
envVars:
- key: NODE_VERSION
value: 20.18.0
- key: NEXT_PUBLIC_SOLANA_NETWORK
value: devnet
- key: NEXT_PUBLIC_SOLANA_RPC_URL
value: https://api.devnet.solana.com
- key: NEXT_PUBLIC_PROGRAM_ID
value: CVt38TQyUSb6PBqdUwmDvxzuNsLJdrY16t78eQ3P7g41
- key: NEXT_PUBLIC_API_URL
value: https://cipherpool-api.onrender.com