ClickHouse/tests/testflows/example/docker-compose/zookeeper-service.yml
2020-08-15 19:52:27 -04:00

19 lines
335 B
YAML

version: '2.3'
services:
zookeeper:
image: zookeeper:3.4.12
expose:
- "2181"
environment:
ZOO_TICK_TIME: 500
ZOO_MY_ID: 1
healthcheck:
test: echo stat | nc localhost 2181
interval: 10s
timeout: 10s
retries: 3
start_period: 300s
security_opt:
- label:disable