-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
75 lines (73 loc) · 2.37 KB
/
Copy pathrender.yaml
File metadata and controls
75 lines (73 loc) · 2.37 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
services:
# ─── Web (Django + Gunicorn) ──────────────────────────────────────────────────
- type: web
name: grenier-commun
env: python
buildCommand: >
pip install -r requirements.txt &&
python manage.py collectstatic --noinput &&
python manage.py migrate
startCommand: gunicorn config.wsgi:application --bind 0.0.0.0:$PORT --workers 2
envVars:
- key: DJANGO_SETTINGS_MODULE
value: config.settings
- key: DEBUG
value: false
- key: SECRET_KEY
generateValue: true
- key: ALLOWED_HOSTS
value: localhost,127.0.0.1,grenier-commun.onrender.com
- key: DATABASE_URL
fromDatabase:
name: grenier-commun-db
property: connectionString
- key: REDIS_URL
fromService:
name: grenier-commun-redis
type: redis
property: connectionString
- key: CELERY_BROKER_URL
fromService:
name: grenier-commun-redis
type: redis
property: connectionString
- key: CELERY_RESULT_BACKEND
fromService:
name: grenier-commun-redis
type: redis
property: connectionString
# ── À renseigner manuellement dans le dashboard Render ──
- key: ANTHROPIC_API_KEY
sync: false
- key: MISTRAL_API_KEY
sync: false
- key: EMAIL_HOST_USER
sync: false
- key: EMAIL_HOST_PASSWORD
sync: false
- key: DEFAULT_FROM_EMAIL
sync: false
- key: TWILIO_ACCOUNT_SID
sync: false
- key: TWILIO_AUTH_TOKEN
sync: false
- key: TWILIO_PHONE_NUMBER
sync: false
- key: CLOUDINARY_CLOUD_NAME
sync: false
- key: CLOUDINARY_API_KEY
sync: false
- key: CLOUDINARY_API_SECRET
sync: false
- key: HUGGINGFACE_API_KEY
sync: false
# ─── Redis ────────────────────────────────────────────────────────────────────
- type: redis
name: grenier-commun-redis
plan: free
maxmemoryPolicy: noeviction
ipAllowList: []
databases:
- name: grenier-commun-db
databaseName: grenier_commun
user: gc_user