[openstreetmap/openstreetmap-website] Problem with running project in production environment (#2744)
notifications at github.com
Sun Aug 2 10:46:51 UTC 2020
It seems strange but I found that I got those errors because the production db config is not set correctly, I wanted to use environment variables to pass the db config to the app, and to do that I used the below database.yml:
database: <%= ENV['OSM_DB'] %>
username: <%= ENV['OSM_DB_USER'] %>
password: <%= ENV['OSM_DB_PASSWORD'] %>
host: <%= ENV['OSM_DB_HOST'] %>
after hard coding those variables in the config file, the errors are gone and everything seems to work fine
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev