Skip to content

mdilai/percona-cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Percona XtraDB cluster for Docker

Based on https://github.com/sttts/docker-galera-mariadb-10.0

$ docker run -d -v /data:/var/lib/mysql -p 3306:3306 -p 8080:8080 \
    --net=host -e XTRABACKUP_PASSWORD=abc -e MYSQL_ROOT_PASSWORD=secret \
    mdilai/percona-cluster seed

$ docker run -d -v /data:/var/lib/mysql -p 3306:3306 -p 8080:8080 \
    mdilai/percona-cluster --net=host \
    -e XTRABACKUP_PASSWORD=abc \
    node 172.17.0.81,172.17.0.97

$ docker run -d -v /data:/var/lib/mysql -p 3306:3306 -p 8080:8080 \
    mdilai/percona-cluster --net=host \
    -e XTRABACKUP_PASSWORD=abc \
    node 172.17.0.81 --any-mysql-argument-you-like

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 86.2%
  • Makefile 13.8%