From 7cf67e48d6fa110c21577f1d9ebbc6e0305de01e Mon Sep 17 00:00:00 2001 From: Anel Husakovic Date: Thu, 8 Feb 2024 11:51:24 +0100 Subject: [PATCH] Structure examples for async and semisync replication --- examples/{ => replication-async}/.env | 0 examples/{ => replication-async}/compose-replication.yml | 0 examples/replication-semisync/.env | 6 ++++++ .../compose-replication-semisync.yml | 0 4 files changed, 6 insertions(+) rename examples/{ => replication-async}/.env (100%) rename examples/{ => replication-async}/compose-replication.yml (100%) create mode 100644 examples/replication-semisync/.env rename examples/{ => replication-semisync}/compose-replication-semisync.yml (100%) diff --git a/examples/.env b/examples/replication-async/.env similarity index 100% rename from examples/.env rename to examples/replication-async/.env diff --git a/examples/compose-replication.yml b/examples/replication-async/compose-replication.yml similarity index 100% rename from examples/compose-replication.yml rename to examples/replication-async/compose-replication.yml diff --git a/examples/replication-semisync/.env b/examples/replication-semisync/.env new file mode 100644 index 00000000..9803af2b --- /dev/null +++ b/examples/replication-semisync/.env @@ -0,0 +1,6 @@ +MARIADB_ROOT_PASSWORD=secret +MARIADB_REPLICATION_USER=repl +MARIADB_REPLICATION_PASSWORD=replicationpass +PRIMARY_name='mariadb-primary' +REPLICATION_name_1='mariadb-replica-1' +REPLICATION_name_2='mariadb-replica-2' \ No newline at end of file diff --git a/examples/compose-replication-semisync.yml b/examples/replication-semisync/compose-replication-semisync.yml similarity index 100% rename from examples/compose-replication-semisync.yml rename to examples/replication-semisync/compose-replication-semisync.yml