Docker Compose

How to deploy and run rqlite using Docker Compose

Docker Compose is a tool for defining and running multi-container applications. It lets you configure and manage the containers for your rqlite deployment together.

These directions assume you’ve already got Docker Compose installed. If not, head over to docs.docker.com/compose to learn how to get set up.


Using Docker Compose with rqlite

Full documentation on using Docker Compose with rqlite is available in the rqlite Docker Compose repo on GitHub. The documentation covers the following scenarios:

  • Single-node database: A basic setup for a standalone rqlite instance.
  • General clustering with 3 nodes: A manual configuration for a three-node rqlite cluster.
  • Automatic clustering with 3 nodes: An example demonstrating automatic clustering with three rqlite nodes.