-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrender.yaml
More file actions
24 lines (23 loc) · 716 Bytes
/
render.yaml
File metadata and controls
24 lines (23 loc) · 716 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
services:
- type: web
name: enhanced-timetable-system
env: python
buildCommand: "./build.sh"
startCommand: "gunicorn enhanced_timetable_system.wsgi:application --timeout 60 --workers 2 --threads 2"
envVars:
- key: PYTHON_VERSION
value: 3.11.9
- key: DATABASE_URL
fromDatabase:
name: timetable-db
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: DEBUG
value: False
- key: ALLOWED_HOSTS
value: "smart-time-table-management-system.onrender.com,*.onrender.com,localhost,127.0.0.1"
databases:
- name: timetable-db
databaseName: enhanced_timetable_system
user: timetable_user