first pass at changiong to variables for p0
This commit is contained in:
parent
bb6d6e137d
commit
50bd8ad785
2 changed files with 7 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:11.4
|
image: mariadb:11.4
|
||||||
container_name: mariadb-node1
|
container_name: mariadb-node${MGDB_NODE_NUMBER}
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: host
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -16,10 +16,10 @@ services:
|
||||||
#- --wsrep-new-cluster
|
#- --wsrep-new-cluster
|
||||||
- --wsrep-on=ON
|
- --wsrep-on=ON
|
||||||
- --wsrep-provider=/usr/lib/galera/libgalera_smm.so
|
- --wsrep-provider=/usr/lib/galera/libgalera_smm.so
|
||||||
- --wsrep-cluster-name=mapletree_cluster
|
- --wsrep-cluster-name=${CLUSTER_NAME}
|
||||||
- --wsrep-cluster-address=gcomm://172.16.201.208,172.16.201.206
|
- --wsrep-cluster-address=gcomm://${CLUSTER_LOCAL_IP},${CLUSTER_REMOTE_IP}
|
||||||
- --wsrep-node-address=172.16.201.208
|
- --wsrep-node-address=${CLUSTER_KEEPALIVED_IP}
|
||||||
- --wsrep-node-name=node1
|
- --wsrep-node-name=node${MGDB_NODE_NUMBER}
|
||||||
- --binlog-format=row
|
- --binlog-format=row
|
||||||
- --default-storage-engine=innodb
|
- --default-storage-engine=innodb
|
||||||
- --innodb-autoinc-lock-mode=2
|
- --innodb-autoinc-lock-mode=2
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
services:
|
services:
|
||||||
minio:
|
minio:
|
||||||
image: quay.io/minio/minio:latest
|
image: quay.io/minio/minio:latest
|
||||||
container_name: minio-node1
|
container_name: minio-node${MINIO_NODE_NUMBER}
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/minio/data:/data
|
- /docker/minio/data:/data
|
||||||
environment:
|
environment:
|
||||||
- MINIO_ROOT_USER=${MINIO_ADMIN_USER}
|
- MINIO_ROOT_USER=${MINIO_ADMIN_USER}
|
||||||
- MINIO_ROOT_PASSWORD=${MINIO_ADMIN_PASS}
|
- MINIO_ROOT_PASSWORD=${MINIO_ADMIN_PASS}
|
||||||
command: server http://172.16.201.208/data http://172.16.201.206/data --console-address ":9001"
|
command: server http://${MINIO_LOCAL_KEEPALIVED_IP}/data http://${MINIO_REMOTE_KEEPALIVED_IP}/data --console-address ":9001"
|
||||||
Loading…
Reference in a new issue