Skip to content

Conversation

@stefanwayon
Copy link

@stefanwayon stefanwayon commented Oct 22, 2024

Add pg_isready as a healthcheck on the db service, and conditioned the start of the memorymaptoolkit service on the db service being healthy. This prevents the mapping service starting before the database is ready to receive connections. This should work with docker-compose 2.1+.

Add `pg_isready` as a healthcheck on the `db` service, and conditioned the start of the `memorymaptoolkit` service on the `db` service being healthy. This prevents the mapping service starting before the database is ready to receive connections.
@stefanwayon
Copy link
Author

@ddunc23 👆🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant