-
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) · 924 Bytes
/
Copy pathrender.yaml
File metadata and controls
31 lines (30 loc) · 924 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
databases:
- name: gamememory-db
databaseName: gamememory
user: gamememory
services:
- type: web
name: gamememory-api
runtime: python
rootDir: backend
buildCommand: pip install -r requirements.txt && python manage.py collectstatic --no-input && python manage.py migrate
startCommand: gunicorn gamememory.wsgi:application
envVars:
- key: DJANGO_SECRET_KEY
generateValue: true
- key: DJANGO_DEBUG
value: "False"
- key: DJANGO_ALLOWED_HOSTS
value: gamememory-api.onrender.com
- key: CORS_ALLOWED_ORIGINS
value: https://gamememory.vercel.app
- key: CSRF_TRUSTED_ORIGINS
value: https://gamememory.vercel.app
- key: DATABASE_URL
fromDatabase:
name: gamememory-db
property: connectionString
- key: RAWG_API_KEY
sync: false
- key: STEAMGRIDDB_API_KEY
sync: false