https://github.com/codemedic/docker-mariadb-replication
Scripts to automate the setup of MariaDB replication using docker.
https://github.com/codemedic/docker-mariadb-replication
docker docker-compose mariadb mariadb-server replication
Last synced: 4 months ago
JSON representation
Scripts to automate the setup of MariaDB replication using docker.
- Host: GitHub
- URL: https://github.com/codemedic/docker-mariadb-replication
- Owner: codemedic
- License: mit
- Created: 2024-06-20T04:26:51.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-09T14:49:34.000Z (about 1 year ago)
- Last Synced: 2025-02-11T10:41:39.130Z (5 months ago)
- Topics: docker, docker-compose, mariadb, mariadb-server, replication
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MariaDB Replication

Scripts to automate the setup of MariaDB replication using docker.
## Master-Master
Deploy a master-master setup with MariaDB v10.1.48
```shell
MARIADB_VERSION=10.1.48 ./deploy.sh master-master
```This will deploy two mutually replicated MariaDB containers `mariadb-a` and `mariadb-b`.
## Master-Slave
Deploy a master-slave setup with MariaDB v10.1.48
```shell
MARIADB_VERSION=10.1.48 ./deploy.sh master-slave
```
This will deploy two replicated MariaDB containers `mariadb-a` and `mariadb-b`, where `mariadb-b` is the slave.