hello nanobox people. I am having an issue with my database when attemping a dry-run. It appears as though either the database is not starting or the env-var "DATA_DB_HOST" is wrong. My app is an elixir umbrella app using a phoenix umbrellaed app with postgres as the database. When starting up the dry-run I get an the error :econnrefused (which is a refused connection) from localhost:5432. Any help is appreciated.
It looks like your production configuration isn't using the environment variables at all.
so I put an evar NANOBOXED=true into the dry-run and it is coming out false in the app. I suspect you are correct.
You need to restart your dry-run deployment in order for new evars to be picked up.
well, the evar NANOBOXED was still false, but the app connected to the database just fine
either way i am supremely impressed so far
thanks for the help
Happy to help! Not sure why the evar is having troubles...
When it becomes an issue we can revisit it. I was just printing it out anyway
Sounds good! Let us know if you have any other issues, and feel free to hop onto our Slack server to connect with our engineering team and other Nanobox users!