-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
43 lines (41 loc) · 1.04 KB
/
render.yaml
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
databases:
- name: techtalks-db
plan: free
databaseName: techtalks
user: techtalks
services:
- type: web
plan: free
name: techtalks-api
runtime: python
rootDir: backend
buildCommand: ./build.sh
startCommand: python -m gunicorn core.asgi:application -k uvicorn.workers.UvicornWorker
envVars:
- key: DATABASE_URL
fromDatabase:
name: techtalks-db
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: WEB_CONCURRENCY
value: 4
- key: DJANGO_SUPERUSER_USERNAME
sync: false
- key: DJANGO_SUPERUSER_EMAIL
sync: false
- key: DJANGO_SUPERUSER_PASSWORD
sync: false
- type: web
plan: free
name: techtalks-ui
runtime: node
rootDir: frontend
buildCommand: pnpm install && pnpm run build
startCommand: pnpm run preview --host 0.0.0.0
envVars:
- key: VITE_API_URL
fromService:
type: web
name: techtalks-api
envVarKey: RENDER_EXTERNAL_URL