Update galera

This commit is contained in:
MrLetsplay 2023-06-13 14:41:39 +02:00
parent 6267389d5b
commit 42dcdb4cd8
4 changed files with 12 additions and 2 deletions

View File

@ -1,2 +1,4 @@
CLUSTER_ADDRESS=gcomm://172.20.5.40,172.20.5.41
NODE_IP=172.20.5.40
USER_PASSWORD=amogus
ROOT_PASSWORD=amogus2

View File

@ -6,4 +6,7 @@ services:
- MARIADB_GALERA_CLUSTER_BOOTSTRAP=yes
- MARIADB_GALERA_CLUSTER_ADDRESS=${CLUSTER_ADDRESS}
- MARIADB_EXTRA_FLAGS=--wsrep_provider_options=ist.recv_addr=${NODE_IP}:4568;ist.recv_bind=0.0.0.0:4568 --wsrep_node_incoming_address=${NODE_IP} --wsrep_sst_receive_address=${NODE_IP}
- MARIADB_USER=owncloud
- MARIADB_PASSWORD=${USER_PASSWORD}
- MARIADB_ROOT_PASSWORD=${ROOT_PASSWORD}
network_mode: host

View File

@ -1,2 +1,4 @@
CLUSTER_ADDRESS=gcomm://172.20.5.40,172.20.5.41
NODE_IP=172.20.5.41
USER_PASSWORD=amogus
ROOT_PASSWORD=amogus2

View File

@ -6,4 +6,7 @@ services:
- MARIADB_GALERA_CLUSTER_BOOTSTRAP=false
- MARIADB_GALERA_CLUSTER_ADDRESS=${CLUSTER_ADDRESS}
- MARIADB_EXTRA_FLAGS=--wsrep_provider_options=ist.recv_addr=${NODE_IP}:4568;ist.recv_bind=0.0.0.0:4568 --wsrep_node_incoming_address=${NODE_IP} --wsrep_sst_receive_address=${NODE_IP}
- MARIADB_USER=owncloud
- MARIADB_PASSWORD=${USER_PASSWORD}
- MARIADB_ROOT_PASSWORD=${ROOT_PASSWORD}
network_mode: host