-
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) · 768 Bytes
/
Copy pathrender.yaml
File metadata and controls
33 lines (32 loc) · 768 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:
# Backend Django
- type: web
name: ventu-backend
runtime: docker
dockerfilePath: ./backend/Dockerfile
dockerContext: ./backend
plan: free
region: virginia
branch: main
envVars:
- key: PYTHON_VERSION
value: "3.11.8"
- key: DEBUG
value: "False"
- key: SECRET_KEY
generateValue: true
- key: ALLOWED_HOSTS
value: ".onrender.com"
- key: DATABASE_URL
fromDatabase:
name: ventu-db
property: connectionString
- key: CORS_ALLOWED_ORIGINS
value: "https://tu-frontend.onrender.com"
healthCheckPath: /admin/login/
databases:
- name: ventu-db
databaseName: ventu_db
user: ventu_user
plan: free
region: oregon