convox / postgres

Run a local PostgreSQL
16 stars 13 forks source link

Added HEALTHCHECK #9

Closed tommoor closed 7 years ago

tommoor commented 8 years ago

This functionality was added in Docker 1.12, it allows us to wait for postgres to startup correctly before any other containers that are linked.

Let me know if you require any stylistic changes, I'm not usually one for writing many bash scripts :)

/cc @awsmsrc

tommoor commented 8 years ago

Just noticed that docker ps now reports (healthy) for the database container, which is nice.

image

yocontra commented 7 years ago

@ddollar Had a chance to look at this yet?

ddollar commented 7 years ago

Looks good to me, thanks