mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 16:56:21 +00:00
feat: usar DATABASE_URL en producción
This commit is contained in:
parent
6a077a1280
commit
aec5c98411
1 changed files with 1 additions and 5 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue