Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (8 months ago)
- Default Branch: master
- Last Pushed: 2024-07-09T14:49:34.000Z (7 months ago)
- Last Synced: 2024-09-28T11:03:07.609Z (4 months ago)
- Topics: docker, docker-compose, mariadb, mariadb-server, replication
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MariaDB Replication
![Experimental](https://img.shields.io/badge/Experimental-red)
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.