cloud-computing/galera/bootstrap/docker-compose.yml
2023-06-21 10:48:51 +00:00

14 lines
573 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}
- MARIADB_DATABASE=owncloud
network_mode: host