Skip to content

Commit

Permalink
Added redis & postgres to render.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyon-grandkru committed Nov 12, 2023
1 parent df3a1d7 commit 9b9bcae
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions render.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
services:
- type: web
name: current_rails_ebwiki
env: ruby
buildCommand: "bundle install && rake db:migrate"
startCommand: "bundle exec puma -C config/puma.rb"
envVars:
- key: DATABASE_URL
fromDatabase:
name: ebwiki-postgres
- key: REDIS_URL
fromDatabase:
name: ebwiki-redis
region: oregon

databases:
- name: ebwiki-postgres
type: postgres

- name: ebwiki-redis
type: redis

0 comments on commit 9b9bcae

Please sign in to comment.