HUB
Sign inSign up

e96tech/pxc

By e96tech

•Updated over 10 years ago

Percona Cluster image with consul agent and leader election mechanism

Image
0

2.5K

e96tech/pxc repository overview

⁠WHAT IS THAT?

This is Percona Cluster docker image with consul agent and leader election

⁠ENV VARS YOU SHOULD KNOW OF

  • CONSUL_HOST (ip address of consul cluster to join to, defaults to gateway)
  • CLUSTER_NAME (name of cluster, will register as clustername and clustername-leader service)
  • XTRABACKUP_PASSWORD (password for xtrabackup user for SST)
  • MYSQL_ROOT_PASSWORD (mysql root password, used on bootstrapping)

⁠HOW TO USE

# docker pull e96tech/pxc
# docker run \
    -e XTRABACKUP_PASSWORD=12345 \
    -e CLUSTER_NAME=pxc \
    -d e96tech/pxc \
    seed -- --innodb-buffer-pool-size=10g
# docker run \
    -e XTRABACKUP_PASSWORD=12345 \
    -e CLUSTER_NAME=pxc \
    -d e96tech/pxc \
    node node-ip-here -- --innodb-buffer-pool-size=10g
Tag summary
Recent tags
Content type
Image
Digest
Size
223.1 MB
Last updated
over 10 years ago
docker pull e96tech/pxc:latest