This Docker Compose project contains a simple test environment of two Gerrit masters in HA configuration.
The project can be built using docker-compose.
To build the Docker VMs:
$ docker-compose build
Use the ‘up’ target to startup the Docker Compose VMs.
$ docker-compose up
Simply type CTRL+C on the window that started the environment and all the VMs will stop. Their state will be persisted and the next run will continue with the same data.
If you want to stop and cleanup all the previous state, use the ‘down’ target.
$ docker-compose down