-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (29 loc) · 735 Bytes
/
render.yaml
File metadata and controls
30 lines (29 loc) · 735 Bytes
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
services:
- type: web
name: streamx-backend
env: python
plan: free
buildCommand: pip install -r requirements.txt
startCommand: bash backend/start_render.sh
healthCheckPath: /api/health
envVars:
- key: SECRET_KEY
generateValue: true
- key: DEBUG
value: "False"
- key: ALLOWED_HOSTS
value: ".onrender.com"
- key: STREAMX_DATA_DIR
value: /tmp/streamx
- key: TMDB_API_KEY
sync: false
- type: web
name: streamx-frontend
env: node
plan: free
rootDir: frontend
buildCommand: npm install && npm run build
startCommand: npm run start -- -p $PORT
envVars:
- key: NEXT_PUBLIC_API_BASE_URL
sync: false