Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
23 stars 12 forks source link

[Task] Add health check to the `iatlas-postgres` container #2492

Closed tschaffter closed 7 months ago

tschaffter commented 7 months ago

What product(s) is this story for?

iAtlas

As a user, I want

No response

Description

The container iatlas-data relies on the container iatlas-postgres being healthy.

This can be implemented as follows:

  1. Add a health check to the container iatlas-postgres
  2. Update the docker-compose file of iatlas-data to check that iatlas-postgres is healthy

Acceptance criteria

No response

Tasks

No response

Anything else?

The same approach as been done for other container like MariaDB for OpenChallenges. Search past tickets for hints.

Have you linked this story to a GitHub Project?

tschaffter commented 7 months ago

See this implementation