5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-01 11:56:08 +00:00

feat: usar DATABASE_URL en producción

This commit is contained in:
f 2022-12-28 16:50:45 -03:00
parent 6a077a1280
commit aec5c98411

View file

@ -26,8 +26,4 @@ test:
user: <%= ENV['USER'] %> user: <%= ENV['USER'] %>
production: production:
adapter: postgresql url: <%= ENV['DATABASE_URL'] %>
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
database: <%= ENV.fetch('DATABASE') { 'sutty' } %>
user: sutty
host: postgresql