ClickHouse/tests/testflows/example/docker-compose/zookeeper-service.yml
2020-07-02 17:58:13 +02:00

19 lines
331 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: 3s
timeout: 2s
retries: 5
start_period: 2s
security_opt:
- label:disable