-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
33 lines (32 loc) · 935 Bytes
/
render.yaml
File metadata and controls
33 lines (32 loc) · 935 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
services:
- type: web
name: haultrackr-frontend
buildCommand: pnpm install && pnpm run build:frontend
staticPublishPath: "./dist/apps/frontend"
envVars:
- key: NODE_VERSION
value: 22.16.0
- key: NPM_CONFIG_PRODUCTION
value: "false"
- key: NPM_CONFIG_CACHE
value: "/tmp/npm-cache"
- key: NODE_MODULES_CACHE
value: "/tmp/node_modules"
- type: web
name: haultrackr-backend
runtime: python
buildCommand: |
pip install -r requirements.txt
python manage.py migrate
startCommand: gunicorn haultrackr.wsgi:application
envVars:
- key: PYTHON_VERSION
value: "3.11.0"
- key: DEBUG
value: "False"
- key: SECRET_KEY
generateValue: true
- key: ALLOWED_HOSTS
value: "haultrackr-fullstack.onrender.com"
- key: CORS_ALLOWED_ORIGINS
value: "https://haultrackr.onrender.com"