ClickHouse/tests/testflows/ldap/docker-compose/zookeeper-service.yml
Vitaliy Zakaznikov 6a517be3b2 * Moving to standard healthcheck parameters.
* Adding docker-compose pull and docker-compose down before executing docker-compose up.
* Adding docker-compose ps if any of the containers are unhealthy.
2020-08-15 14:24:33 -04:00

19 lines
333 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: 10s
retries: 60
start_period: 2s
security_opt:
- label:disable