# registrator **Repository Path**: mirrors_go-chassis/registrator ## Basic Information - **Project Name**: registrator - **Description**: a tool to register service instance from discovery service to registrator service - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-01 - **Last Updated**: 2026-05-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # registrator a tool to register service instance from service center to another service center # Guide 1. build images ```bash bash ./build_image.sh ``` 2. prepare config reg.yaml ```yaml source: address: http://127.0.0.1:30100 fetchInterval: 60s #how long to fetch services and instances and register them to target registry, #if your instances is not changing rapidly, you can set it to longer exclude: SERVICECENTER,CseConfigCenter,CseMonitoring,REGISTRATOR target: address: http://127.0.0.1:30200 heartbeatInterval: 30s # how long to send heart beat to target registry ``` 3. Run, CSE_REGISTRY_ADDR must equal to address of source ```bash docker run -v /path/to/conf_folder/:/etc/registrator/conf/ -p 8080:8080 gomesh/registrator ```