Commit 35ffd02b authored by Hyduan's avatar Hyduan Committed by Shao Yu-Lung (Allen)

Add ZooKeeper Component (#1899)

parent d03ead34
......@@ -437,6 +437,17 @@ services:
networks:
- backend
### ZooKeeper #########################################
zookeeper:
build: ./zookeeper
volumes:
- ${DATA_PATH_HOST}/zookeeper/data:/data
- ${DATA_PATH_HOST}/zookeeper/datalog:/datalog
ports:
- "${ZOOKEEPER_PORT}:2181"
networks:
- backend
### Aerospike ##########################################
aerospike:
build: ./aerospike
......
......@@ -207,6 +207,10 @@ MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
REDIS_PORT=6379
### ZooKeeper #############################################
ZOOKEEPER_PORT=2181
### Percona ###############################################
PERCONA_DATABASE=homestead
......
FROM zookeeper:latest
LABEL maintainer="Hyduan <hyduan96@qq.com>"
VOLUME /data
VOLUME /datalog
EXPOSE 2181
CMD ["zookeeper"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment