cloud-computing/galera/bootstrap/docker-compose.yml
2023-06-13 14:41:39 +02:00

12 lines
538 B
YAML

services:
galera:
image: bitnami/mariadb-galera
environment:
- ALLOW_EMPTY_PASSWORD=yes
- 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