Closed jserpapinto closed 6 years ago
Hello @johnyserpa,
the database connection should be set in config/database.yml
-> we provide config.database.yml.example
file with example configuration.
Please also note installation instructions in README:
...
Copy and edit configuration files.
cp config/configuration.{yml.example,yml}
cp config/database.{yml.example,yml}
cp config/newrelic.{yml.example,yml}
...
Sorry for the lateness.
I did see the conf file but did not understand where to put the host value.
fiit_development:
adapter: postgresql
encoding: unicode
database: askalot_fiit_development
pool: 5
username: postgres
password: postgres
Hello @johnyserpa, it is a standard database.yml config file used by Rails framework (please, see https://guides.rubyonrails.org/configuring.html#configuring-a-database).
By default localhost
value is used as a hostname, if you need to change it, please, add a new parameter host
(please, see this URL for all options as well as for same examples).
If you will need any further help, please, do not hesitate to send anoher comment. Thank you.
Thanks a lot @isrba.
Hey, I'm trying to dockerize your app, but wondering where to set database host param. Thanks!