Skip to content

Commit

Permalink
Update yaml file for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
PivtoranisV committed Nov 25, 2024
1 parent 6670811 commit aff531c
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
databases:
- name: private-events
databaseName: private-events
user: private-events
databaseName: private-events
user: private-events
plan: free

services:
- type: web
name: private-events
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"
- type: web
name: private-events
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'
envVars:
- key: DATABASE_URL
- key: DATABASE_URL
fromDatabase:
name: private-events
property: connectionString
- key: RAILS_MASTER_KEY
sync: false- key: WEB_CONCURRENCY
value: 2 # sensible default
sync: false
- key: WEB_CONCURRENCY
value: 2 # sensible default

0 comments on commit aff531c

Please sign in to comment.