1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/zookeeper/arm/docker-compose-cluster.yml
2017-09-13 17:31:46 +08:00

13 lines
312 B
YAML

zookeeper:
image: easypi/zookeeper-arm
volumes:
- ./data:/data
- ./datalog:/datalog
environment:
- ZOO_MY_ID=1
- ZOO_SERVERS=server.1=192.168.1.106:2888:3888
server.2=192.168.1.107:2888:3888
server.3=192.168.1.108:2888:3888
net: host
restart: always