Rocket.Chat on Docker - no health check

Description

Hello. We have been running Rocket.Chat v2.0.0. in docker containers since sometime last year. I recently loaded v3.6.2 into our development swarm and the upgrade was easy and worked. The system is stable and functioning as expected.

However, we lost the ability to perform health checks on the container, because this docker image no longer includes curl and our previous health check was relied on curl like this:

test: [“CMD”, “curl”, “localhost:3000/api/info”]

Was this an oversight when building the image? If not, how would you suggest I now construct an appropriate health check?

Thanks for taking a look.

Bryan

Server Setup Information

  • Version of Rocket.Chat Server: 3.6.2
  • Operating System: Linux Ubuntu 18.04 LTS
  • Deployment Method: 3.6.2 docker image
  • Number of Running Instances: ~90
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 12.16.1
  • MongoDB Version: 4.0.4
  • Proxy: traefik