mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
update zookeeper
This commit is contained in:
parent
bc90a4b170
commit
3a7412cfae
@ -1,5 +1,5 @@
|
||||
zookeeper:
|
||||
image: zookeeper
|
||||
image: zookeeper:3.5.5
|
||||
ports:
|
||||
- "2181:2181"
|
||||
- "2888:2888"
|
||||
@ -10,7 +10,7 @@ zookeeper:
|
||||
- /data/zookeeper/datalog:/datalog
|
||||
environment:
|
||||
- ZOO_MY_ID=1
|
||||
- ZOO_SERVERS=server.1=0.0.0.0:2888:3888 server.2=zookeeper2:2888:3888 server.3=zookeeper3:2888:3888
|
||||
- ZOO_SERVERS=server.1=0.0.0.0:2888:3888;2181 server.2=zookeeper2:2888:3888;2181 server.3=zookeeper3:2888:3888;2181
|
||||
extra_hosts:
|
||||
- zookeeper1:10.0.0.21
|
||||
- zookeeper2:10.0.0.22
|
||||
|
Loading…
Reference in New Issue
Block a user