2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update zookeeper

This commit is contained in:
kev
2019-12-03 17:28:17 +08:00
parent 6d75118055
commit 0d6a5b9d90
4 changed files with 9 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ zookeeper:
- ./data/logs:/logs
environment:
- ZOO_LOG4J_PROP=INFO,ROLLINGFILE
- ZOO_STANDALONE_ENABLED=true
restart: always
```
@@ -28,6 +29,8 @@ zookeeper:
```bash
$ docker-compose up -d
$ docker-compose exec zookeeper cat /conf/zoo.cfg
$ docker-compose exec zookeeper zkServer.sh status
ZooKeeper JMX enabled by default
Using config: /conf/zoo.cfg

View File

@@ -8,4 +8,5 @@ zookeeper:
- ./data/logs:/logs
environment:
- ZOO_LOG4J_PROP=INFO,ROLLINGFILE
- ZOO_STANDALONE_ENABLED=true
restart: always