forked from bullet-train-co/bullet_train
-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
56 lines (54 loc) · 1.34 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
databases:
- name: database
databaseName: database
user: bullet_train
plan: starter
services:
- type: redis
name: redis
ipAllowList: []
plan: starter
maxmemoryPolicy: noeviction
- type: web
name: web
env: ruby
buildCommand: "./bin/render-build.sh"
startCommand: "bundle exec puma -C config/puma.rb"
envVars:
- key: DATABASE_URL
fromDatabase:
name: database
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: redis
property: connectionString
- fromGroup: settings
- type: worker
name: worker
env: ruby
buildCommand: "bundle install && bundle exec rake assets:precompile && bundle exec rake assets:clean"
startCommand: "bundle exec sidekiq -t 25"
envVars:
- key: DATABASE_URL
fromDatabase:
name: database
property: connectionString
- key: REDIS_URL
fromService:
type: redis
name: redis
property: connectionString
- fromGroup: settings
envVarGroups:
- name: settings
envVars:
- key: FONTAWESOME_NPM_AUTH_TOKEN
sync: false
- key: POSTMARK_API_TOKEN
sync: false
- key: HIDE_THINGS
generateValue: true
- key: SECRET_KEY_BASE
generateValue: true