-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathrender.yaml
More file actions
51 lines (50 loc) · 1.5 KB
/
render.yaml
File metadata and controls
51 lines (50 loc) · 1.5 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
45
46
47
48
49
50
51
services:
# Backend API service
- type: web
name: issuematch-api
env: python
buildCommand: cd backend && pip install -r requirements.txt
startCommand: cd backend && uvicorn app.main:app --host 0.0.0.0 --port $PORT
envVars:
- key: FIREBASE_CREDENTIALS_PATH
value: app/services/keys.json
- key: GOOGLE_AI_STUDIO_API_KEY
sync: false
- key: SECRET_KEY
generateValue: true
- key: PROJECT_NAME
value: "OS Contribution Matchmaker"
- key: API_V1_STR
value: "/api/v1"
- key: GITHUB_CLIENT_ID
sync: false
- key: GITHUB_CLIENT_SECRET
sync: false
# Frontend service
- type: web
name: issuematch-frontend
env: node
buildCommand: cd frontend && npm install && npm run build
startCommand: cd frontend && npm start
envVars:
- key: NEXT_PUBLIC_APP_URL
fromService:
name: issuematch-frontend
type: web
property: host
- key: NEXT_PUBLIC_API_URL
value: ${issuematch-api.host}${API_V1_STR}
- key: NEXT_PUBLIC_FIREBASE_API_KEY
sync: false
- key: NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN
sync: false
- key: NEXT_PUBLIC_FIREBASE_PROJECT_ID
sync: false
- key: NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET
sync: false
- key: NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID
sync: false
- key: NEXT_PUBLIC_FIREBASE_APP_ID
sync: false
- key: FIREBASE_SERVICE_ACCOUNT_KEY
sync: false