The health checker for database replicaset (*PoC) - Gapminder/dollar-street-framework GitHub Wiki

It's work only in Linux.

[email protected] ADMIN_PASSWORD=XXXXXXXXX [email protected] ADMIN_EMAIL_TEMPLATE=Attention ts-node --project ./deployment/gcp/tsconfig.mongo.json deployment/gcp/prod-mongodb-status.ts root XXXXXXXXXXXXXXXXXX REPLICA_SET_IP

  • ADMIN_EMAIL - email frow which will send mail
  • ADMIN_PASSWORD - password for ADMIN_EMAIL
  • ADMIN_TARGET - email where will send an email. Can be added several emails use ',' delimiter. For example ([email protected],[email protected])
  • root - password for a replica set. GCP -> Deployment manager -> Deployments, select your MongoDB and find "root password" or "MongoDB Password"
  • REPLICA_SET_IP - all IP from a replica set. For example(34.90.255.219 34.90.102.54 34.90.181.35)