https://github.com/bebehei/galera-cluster-docker
Docker compose project to have a Galera cluster bootstrapped easily.
https://github.com/bebehei/galera-cluster-docker
Last synced: 4 months ago
JSON representation
Docker compose project to have a Galera cluster bootstrapped easily.
- Host: GitHub
- URL: https://github.com/bebehei/galera-cluster-docker
- Owner: bebehei
- Created: 2024-04-04T11:49:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-04T11:54:48.000Z (about 2 years ago)
- Last Synced: 2025-10-13T20:57:27.354Z (8 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# galera cluster for docker-compose
To evaluate galera cluster with docker compose, this is a basic template to spawn multiple containers acting as a test cluster on a single host.
# Adding a new node
- copy node3 definition in docker-compose.yml and increment to `node4`
- edit **all** files in galera-config: Append `,node4` into `wsrep_cluster_address` line
- `cp galera-config/node3.conf galera-config/node4.conf` and change the `wsrep_node_name` to `node4`