Click in order · NestJS course · Module 12: Containers and CI/CD

Review: Healthcheck in Dockerfile

Arrange the healthcheck configuration elements in Docker:

Items to click

  • retries: 3
  • interval: 30s
  • healthcheck:
  • test: curl -f http://localhost:4000/health

You can check the correct answer by solving this task in the CodeWorlds game.