use var for maria cluster init
This commit is contained in:
parent
0a33da41c4
commit
debc887591
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ services:
|
||||||
- /docker/maria/data:/var/lib/mysql
|
- /docker/maria/data:/var/lib/mysql
|
||||||
- /docker/maria/conf:/etc/mysql/conf.d
|
- /docker/maria/conf:/etc/mysql/conf.d
|
||||||
command:
|
command:
|
||||||
#- --wsrep-new-cluster
|
- --${WS_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=${CLUSTER_NAME}
|
- --wsrep-cluster-name=${CLUSTER_NAME}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue