-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.yaml
39 lines (38 loc) · 1.02 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
databases:
- name: convo-db-test123
databaseName: convo
user: convo
postgresMajorVersion: 16
plan: standard
previewPlan: standard
readReplicas:
- name: convo-replica
services:
- type: web
name: convo-web-test123
plan: starter
env: ruby
repo: https://github.com/render-examples/rails-6
buildCommand: "./bin/render-build.sh"
startCommand: "bundle exec puma -C config/puma.rb"
envVars:
- key: DATABASE_URL
fromDatabase:
name: convo-db-test123
property: connectionString
domains:
- notarealdomaintesttest.com
previewPlan: starter
initialDeployHook: bundle exec rake db:seed
- type: worker
name: convo-queue-test123
env: ruby
repo: https://github.com/render-examples/sidekiq
buildCommand: "bundle install"
startCommand: "bundle exec sidekiq -r ./main.rb"
envVars:
- key: DATABASE_URL
fromDatabase:
name: convo-replica
property: connectionString
previewPlan: starter