-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
22 lines (22 loc) · 766 Bytes
/
render.yaml
File metadata and controls
22 lines (22 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
- type: web
name: capstone2
runtime: ruby
plan: standard
buildCommand: 'bundle install; bundle exec rake assets:precompile; bundle exec rake assets:clean;'
preDeployCommand: "bundle exec rails db:migrate" # preDeployCommand only available on paid instance types
startCommand: './bin/rails server'
envVars:
- key: DATABASE_URL
fromDatabase:
name: capstone2-db
property: connectionString
- key: RAILS_MASTER_KEY
sync: false # You'll provide this value on Blueprint creation
- key: WEB_CONCURRENCY
value: 2 # Recommended default
- key: SOLID_QUEUE_IN_PUMA
value: true # Enable Solid Queue in Puma
databases:
- name: capstone2-db
plan: basic-256mb