Skip to content

Docker

You can run Replicator using Docker Compose, on any machine, which has Docker installed.

We prepared a complete set of files for this scenario. You find those files in the Replicator repository.

The Compose file includes the following components:

  • Replicator itself
  • Prometheus, pre-configured to scrape Replicator metrics endpoint
  • Grafana, pre-configured to use Prometheus, with the Replicator dashboard included

Before spinning up this setup, you need to change the replicator.yml file. Find out about Replicator settings on the Configuration page. Check the sample configuration file to the repository.

The sample configuration enables verbose logging using the REPLICATOR_DEBUG environment variable. For production deployments, you should remove it from the configuration.

When you start all the component using docker-compose up, you’d be able to check the Replicator web UI by visiting http://localhost:5000, as well as Grafana at http://localhost:3000. Use admin/admin default credentials for Grafana. The Replicator dashboard is included in the deployment, so you can find it in the dashboards list.