-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
39 lines (38 loc) · 1.43 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
services:
- type: web
name: blitz-discord-bot
env: node
plan: starter
buildCommand: yarn --frozen-lockfile --prod=false && yarn prisma migrate deploy --preview-feature && yarn build
startCommand: yarn prod:start
envVars:
- key: NODE_ENV
value: production
- key: DATABASE_URL
fromDatabase:
name: blitz-discord-bot-db
property: connectionString
- key: BOT_ADMINS
value: 5040
- key: ASK_HELP_CHANNEL
value: 814595194825343056
- key: ASK_CATEGORY
value: 814594487036543017
- key: ONGOING_CATEGORY
value: 814594686257201192
- key: DORMANT_CATEGORY
value: 814594979439706153
- key: HAS_HELP_CHANNEL_ROLE_ID
value: 814598084356603944
# Following variables are in milliseconds
- key: DORMANT_CHANNEL_TIMEOUT
value: 129600000 # 36 hours
- key: DORMANT_CHANNEL_LOOP
value: 1800000 # 30 minutes
- key: ONGOING_EMPTY_TIMEOUT
value: 600000 # 10 minutes
- key: CHANNEL_NAMES
value: help-aquarius,help-aquila,help-columbia,help-cygnus,help-dorado,help-draco,help-eridanus,help-equuleus,help-gemini,help-grus,help-leo,help-lepus,help-libra,help-monoceros,help-musca,help-norma,help-octans,help-orion,help-pavo,help-puppis,help-sagitta,help-scorpius,help-tarus,help-tucana,help-volans,help-vulpecula
databases:
- name: blitz-discord-bot-db
plan: starter