-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (29 loc) · 814 Bytes
/
Copy pathrender.yaml
File metadata and controls
30 lines (29 loc) · 814 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
databases:
- name: django_template_db
plan: free
databaseName: django_template
user: django_template_user
services:
- type: web
plan: free
name: django-project-template
runtime: python
buildCommand: "./build.sh"
startCommand: "python -m gunicorn settings.asgi:application -k uvicorn.workers.UvicornWorker"
envVars:
- key: DATABASE_URL
fromDatabase:
name: django_template_db
property: connectionString
- key: SECRET_KEY
generateValue: true
- key: DJANGO_SETTINGS_MODULE
value: settings.production
- key: WEB_CONCURRENCY
value: 4
- key: DEBUG
value: False
- key: ENVIRONMENT
value: production
- key: ALLOWED_HOSTS
value: ".onrender.com,localhost,127.0.0.1"