I'm running the connect:latest image and running into the error:
Postgres is unavailable. Aborting.
After a fair amount of troubleshooting, the issue appears to be that my database username does not match the database name itself. The entrypoint.sh script does not include the database name in the connection test it runs, so it tries to connect to a non-existent database matching the username.
This was very hard to troubleshoot because looking at the source here, entrypoint.shdoes include the database name.
It seems that the nextgenhealthcare/connect:latest image on dockerhub was not actually built with the 3.8.1 tag on this repository?
I'm running the connect:latest image and running into the error:
Postgres is unavailable. Aborting.
After a fair amount of troubleshooting, the issue appears to be that my database username does not match the database name itself. The
entrypoint.sh
script does not include the database name in the connection test it runs, so it tries to connect to a non-existent database matching the username.This was very hard to troubleshoot because looking at the source here,
entrypoint.sh
does include the database name.It seems that the nextgenhealthcare/connect:latest image on dockerhub was not actually built with the 3.8.1 tag on this repository?