Skip to content

r0fls/dg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker compose configuration that runs a Galera cluster

Usage

From within the directory:

docker-compose up -d --build

Verify there are 3 nodes:

$ sudo docker exec -ti dg_node1_1 mysql -e 'show status like "wsrep_cluster_size"'
+--------------------+-------+
| Variable_name      | Value |
+--------------------+-------+
| wsrep_cluster_size |     3 |
+--------------------+-------+

Note this needs to be further adapted to work with nodes on different hosts, which is discussed at www.galeracluster.com [here] (http:https://galeracluster.com/2015/05/getting-started-galera-with-docker-part-2-2/).

About

Docker galera cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published