2023-05-21 16:21:56 +02:00
|
|
|
services:
|
|
|
|
galera:
|
2023-06-13 14:31:47 +02:00
|
|
|
image: bitnami/mariadb-galera
|
2023-05-21 16:21:56 +02:00
|
|
|
environment:
|
2023-06-13 14:31:47 +02:00
|
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
|
|
- 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}
|
2023-06-13 14:41:39 +02:00
|
|
|
- MARIADB_USER=owncloud
|
|
|
|
- MARIADB_PASSWORD=${USER_PASSWORD}
|
|
|
|
- MARIADB_ROOT_PASSWORD=${ROOT_PASSWORD}
|
2023-06-21 12:49:11 +02:00
|
|
|
- MARIADB_DATABASE=owncloud
|
2023-06-28 15:34:03 +02:00
|
|
|
volumes:
|
2023-06-28 15:41:07 +02:00
|
|
|
- mariadb_data:/bitnami/mariadb
|
2023-06-21 12:49:11 +02:00
|
|
|
network_mode: host
|
2023-06-28 15:34:03 +02:00
|
|
|
volumes:
|
|
|
|
mariadb_data:
|