Skip to content

Commit

Permalink
Change render.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
SelwynAng committed Jul 28, 2024
1 parent 120dbf0 commit 5b3a182
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ databases:
- name: mysite
databaseName: mysite
user: mysite
plan: free

services:
- type: web
name: mysite
runtime: ruby
plan: free
buildCommand: "./bin/render-build.sh"
startCommand: "bundle exec puma -C config/puma.rb"
# preDeployCommand: "bundle exec rails db:migrate" # preDeployCommand only available on paid instance types
startCommand: "bundle exec rails server"
envVars:
- key: DATABASE_URL
fromDatabase:
name: mysite
property: connectionString
- key: RAILS_MASTER_KEY
sync: false
- key: WEB_CONCURRENCY
value: 2 # sensible default

0 comments on commit 5b3a182

Please sign in to comment.