generated from yatish27/shore
-
Notifications
You must be signed in to change notification settings - Fork 1
/
render.yaml
41 lines (39 loc) · 1 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
databases:
- name: database
databaseName: database
user: job_tracker
plan: starter
services:
- 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
- fromGroup: settings
- type: worker
name: worker
env: ruby
buildCommand: "bundle install && bundle exec rake assets:precompile && bundle exec rake assets:clean"
startCommand: "bundle exec rake solid_queue:start"
envVars:
- key: DATABASE_URL
fromDatabase:
name: database
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