-
Notifications
You must be signed in to change notification settings - Fork 2
/
render.yaml
66 lines (63 loc) · 1.63 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
previewsEnabled: false
previewsExpireAfterDays: 1
databases:
- name: repeater_world-db
databaseName: repeater_world
user: repeater_world
postgresMajorVersion: 15
plan: starter
previewPlan: starter
envVarGroups:
- name: repeater_world
envVars:
- key: ALLOW_SAMPLE_DATA_GENERATION
value: false
previewValue: true
- key: DELIVER_EMAILS
value: true
previewValue: false
- key: GOOGLE_GEOCODING_API_KEY
sync: false
- key: MAILGUN_API_KEY
sync: false
- key: SAFE_EMAIL_DEST
value: "staging@repeater.world"
- key: SECRET_KEY_BASE
sync: false
- key: SENTRY_DSN
sync: false
services:
- type: web
name: repeater_world-web
plan: starter
env: ruby
buildCommand: "./bin/render-build.sh"
startCommand: "bundle exec puma -C config/puma.rb"
previewPlan: standard
initialDeployHook: bundle exec rake db:seed
domains:
- repeater.world
envVars:
- fromGroup: repeater_world
- key: DATABASE_URL
fromDatabase:
name: repeater_world-db
property: connectionString
- key: FATHOM_ID
sync: false
- key: GOOGLE_MAPS_API_KEY
sync: false
- key: SENTRY_DSN_FE
sync: false
- type: cron
name: repeater_world-import_all
runtime: ruby
schedule: "7 7 10 * *" # At 06:15 on Saturday.
buildCommand: "./bin/render-build.sh"
startCommand: rake import_all
envVars:
- fromGroup: repeater_world
- key: DATABASE_URL
fromDatabase:
name: repeater_world-db
property: connectionString