-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
31 lines (30 loc) · 991 Bytes
/
Copy pathrender.yaml
File metadata and controls
31 lines (30 loc) · 991 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
services:
- type: web
name: collaborative-editor
runtime: python
plan: free
rootDir: collaborative_editor
buildCommand: "pip install -r ../requirements.txt && python manage.py collectstatic --noinput && python manage.py migrate && python manage.py createsuperuser --noinput || true"
startCommand: "daphne -b 0.0.0.0 -p $PORT collaborative_editor.asgi:application"
envVars:
- key: SECRET_KEY
generateValue: true
- key: DEBUG
value: "False"
- key: ALLOWED_HOSTS
value: collaborative-editor-y26o.onrender.com
- key: DATABASE_URL
fromDatabase:
name: collaborative-editor-db
property: connectionString
- key: PYTHON_VERSION
value: "3.10.13"
- key: DJANGO_SUPERUSER_USERNAME
sync: false
- key: DJANGO_SUPERUSER_EMAIL
sync: false
- key: DJANGO_SUPERUSER_PASSWORD
sync: false
databases:
- name: collaborative-editor-db
plan: free