nextgenhealthcare / connect-docker

Official Dockerfiles for Connect https://hub.docker.com/r/nextgenhealthcare/connect
Mozilla Public License 2.0
78 stars 51 forks source link

Dockerhub latest doesn't include latest from this repo #3

Closed jensenak closed 4 years ago

jensenak commented 4 years ago

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?

narupley commented 4 years ago

This looks like a mistake on our end, the image pushed to Docker Hub was one commit behind. I re-built and re-pushed the image, try it now!

jensenak commented 4 years ago

That did the trick! Much appreciated.