-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
36 lines (35 loc) · 990 Bytes
/
Copy pathrender.yaml
File metadata and controls
36 lines (35 loc) · 990 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
34
35
36
services:
# Servicio Web — Django
- type: web
name: blog-cocina
runtime: python
region: ohio
plan: free
branch: proyecto_final
buildCommand: "./build.sh"
startCommand: "gunicorn blog_cocina.wsgi:application --workers=2 --threads=4 --worker-class=gthread --timeout=120 --access-logfile=- --error-logfile=-"
envVars:
- key: DJANGO_SETTINGS_MODULE
value: blog_cocina.settings.production
- key: SECRET_KEY
generateValue: true
- key: DEBUG
value: "False"
- key: ALLOWED_HOSTS
value: ".onrender.com,localhost"
- key: PYTHON_VERSION
value: "3.11.15"
- key: WEB_CONCURRENCY
value: "2"
- key: DATABASE_URL
fromDatabase:
name: blog-cocina-db
property: connectionString
# Base de datos PostgreSQL
databases:
- name: blog-cocina-db
region: ohio
plan: free
databaseName: blog_cocina
user: blog_cocina_user
ipAllowList: []