-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
37 lines (36 loc) · 893 Bytes
/
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
databases:
- name: my_app_db
databaseName: my_app
user: my_app
plan: free
region: singapore
postgresMajorVersion: 15
services:
- type: web
name: my_app
env: ruby
plan: free
region: singapore
buildCommand: ./bin/render-build.sh
startCommand: bundle exec puma -C config/puma.rb
initialDeployHook: ./bin/render-initial-deploy.sh
envVars:
- key: DATABASE_URL
fromDatabase:
name: my_app_db
property: connectionString
- key: WEB_CONCURRENCY
value: 2
- type: cron
name: my_app-cron-sample
env: ruby
plan: starter
region: singapore
buildCommand: ./bin/render-build.sh
startCommand: bundle exec rails runner "puts 'Hello'"
schedule: 0 0 * * *
envVars:
- key: DATABASE_URL
fromDatabase:
name: my_app_db
property: connectionString