This is the git repo of the docker image of percona-xtradb-cluster. It's based on original image and is inspired by community image.
Name of the cluster. MUST be equal on each node.
Empty variables will start a new cluster. To join an existing cluster, set CLUSTER_JOIN
to the list of IP addresses running cluster nodes.
This variable is mandatory and specifies the password that will be set for the Percona root superuser account.
This variable is mandatory and specifies the password that will be set for the SST user account.
When a container is started for the first time, a new database with the specified name will be created and initialized with the provided configuration variables. Furthermore, it will execute files with extensions .sh
, .sql
and .sql.gz
that are found in /docker-entrypoint-initdb.d
. Files will be executed in alphabetical order. You can easily populate your percona services by mounting a SQL dump into that directory and provide custom images with contributed data.