O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Key points for Registrator

Let's discuss the key points for Registrator:

  1. Registrator acts as an auto-discovery agent, where it listens for Docker startup and shutdown events.
  2. Registrator has the following inbuilt options taken from their GitHub Readme file:
Usage of /bin/registrator:   /bin/registrator [options] <registry URI>   -cleanup=false: Remove dangling services   -deregister="always": Deregister exited services "always" or "on-     success"   -internal=false: Use internal ports instead of published ones   -ip="": IP for ports mapped to the host   -resync=0: Frequency with which services are resynchronized   -retry-attempts=0: Max retry attempts to establish a connection      with the backend. Use -1 for infinite retries -retry-interval=2000: Interval ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required