-
Notifications
You must be signed in to change notification settings - Fork 4
Healthchecks are not working for server and mongodb services #47
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Both health checks for the space-server and the mongodb service are not working properly, which can be seen when running docker ps after the compose up.
For the space-server, the problem is that curl is not contained in the base "slim" image. This could be fixed by adding the following to the Dockerfile:
RUN apt-get update && apt-get install -y curl
In the mongodb case, the command to be used in the test option is mongosh instead of mongo.
Additionally, I think that for completeness, the dependencies in the docker-compose.yml should be specified as in:
depends_on:
mongodb:
condition: service_healthy
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request