-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
34 lines (33 loc) · 857 Bytes
/
render.yaml
File metadata and controls
34 lines (33 loc) · 857 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
31
32
33
34
services:
- type: web
name: secure-share-backend
env: python
buildCommand: "cd backend && pip install -r requirements.txt"
startCommand: "cd backend && python main.py"
plan: free
envVars:
- key: FLASK_ENV
value: production
- key: MONGO_URI
sync: false
- key: JWT_SECRET_KEY
generateValue: true
- key: DB_NAME
sync: false
- key: PORT
sync: false
- type: web
name: secure-share-frontend
env: node
buildCommand: "cd frontend && npm install && npm run build"
startCommand: "cd frontend && npx serve -s build -l 3000"
plan: free
envVars:
- key: REACT_APP_API_URL
sync: false
- key: REACT_APP_NAME
sync: false
- key: REACT_APP_VERSION
sync: false
- key: GENERATE_SOURCEMAP
sync: false