-
-
Notifications
You must be signed in to change notification settings - Fork 852
/
render.yaml
50 lines (49 loc) · 1.18 KB
/
render.yaml
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
databases:
- name: tabbycat_database
databaseName: tabbycat
user: tabbycat
plan: free
services:
- type: web
name: tabbycat_website
env: python
plan: free
region: oregon
buildCommand: "./bin/render-compile.sh"
startCommand: "npm run render-serve"
envVars:
- key: DATABASE_URL
fromDatabase:
name: tabbycat_database
property: connectionString
- key: REDIS_HOST
fromService:
type: redis
name: tabbycat_redis
property: host
- key: REDIS_PORT
fromService:
type: redis
name: tabbycat_redis
property: port
- key: DJANGO_SECRET_KEY
generateValue: true
- key: PYTHON_VERSION
value: "3.12.3"
- key: WEB_CONCURRENCY
value: 4
- key: TAB_DIRECTOR_EMAIL
sync: false
- key: TIME_ZONE
sync: false
- key: ON_RENDER
value: true
- key: USING_NGINX
value: 0 # Not 'false'; is cast
- type: redis
name: tabbycat_redis
ipAllowList: # required
- source: 0.0.0.0
description: everywhere
plan: free
maxmemoryPolicy: allkeys-lru # (default)