Files
clovening/splitchat/render.yaml
MonkeyStrongTogether 87ec426fed Inital commit
2026-05-22 17:48:03 +02:00

39 lines
904 B
YAML

services:
# Web service (Django + Daphne ASGI)
- type: web
name: splitchat
runtime: python
buildCommand: "./build.sh"
startCommand: "daphne -b 0.0.0.0 -p $PORT config.asgi:application"
envVars:
- key: SECRET_KEY
generateValue: true
- key: DEBUG
value: "False"
- key: ALLOWED_HOSTS
value: ".onrender.com"
- key: DATABASE_URL
fromDatabase:
name: splitchat-db
property: connectionString
- key: REDIS_URL
fromService:
name: splitchat-redis
type: redis
property: connectionString
- key: PYTHON_VERSION
value: "3.11.0"
# Redis for Django Channels
- type: redis
name: splitchat-redis
plan: free
maxmemoryPolicy: noeviction
databases:
# PostgreSQL
- name: splitchat-db
plan: free
databaseName: splitchat
user: splitchat