Skip to content

Commit

Permalink
Fixed database and render.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yatish27 committed Jan 27, 2025
1 parent 933bb70 commit 63c0fef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,20 @@ production:
primary: &primary_production
<<: *default
database: shore_production
username: shore
password: <%= ENV["SHORE_DATABASE_PASSWORD"] %>
url: <%= ENV["DATABASE_URL"] %>
cache:
<<: *primary_production
database: shore_production_cache
migrations_paths: db/cache_migrate
url: <%= ENV["DATABASE_URL"] %>
queue:
<<: *primary_production
database: shore_production_queue
migrations_paths: db/queue_migrate
url: <%= ENV["DATABASE_URL"] %>
cable:
<<: *primary_production
database: shore_production_cable
migrations_paths: db/cable_migrate
url: <%= ENV["DATABASE_URL"] %>

2 changes: 1 addition & 1 deletion render.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
databases:
- name: postgres
databaseName: shore
plan: free
ipAllowList: []

services:
- type: web
Expand Down

0 comments on commit 63c0fef

Please sign in to comment.