mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 02:06:21 +00:00
poder cambiar la base de datos de producción
This commit is contained in:
parent
c3d7dc317c
commit
43b85a6e9b
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
DATABASE=
|
||||||
RAILS_ENV=
|
RAILS_ENV=
|
||||||
IMAP_SERVER=
|
IMAP_SERVER=
|
||||||
DEFAULT_FROM=
|
DEFAULT_FROM=
|
||||||
|
|
|
@ -23,7 +23,7 @@ test:
|
||||||
production:
|
production:
|
||||||
adapter: postgresql
|
adapter: postgresql
|
||||||
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
||||||
database: sutty
|
database: <%= ENV.fetch('DATABASE') { 'sutty' } %>
|
||||||
user: sutty
|
user: sutty
|
||||||
host: postgresql
|
host: postgresql
|
||||||
encoding: unicode
|
encoding: unicode
|
||||||
|
|
Loading…
Reference in a new issue