Skip to content

Commit

Permalink
Fix render.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yatish27 committed Jan 27, 2025
1 parent c5618d3 commit dddc720
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
databases:
- name: postgres
databaseName: shore
plan: free

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

0 comments on commit dddc720

Please sign in to comment.