Skip to content

Instantly share code, notes, and snippets.

@devshawn
Last active September 15, 2019 19:31
Show Gist options
  • Save devshawn/312a932759cfd9cb73c2620967f8b0c3 to your computer and use it in GitHub Desktop.
Save devshawn/312a932759cfd9cb73c2620967f8b0c3 to your computer and use it in GitHub Desktop.
version: '3'
services:
zookeeper:
image: zookeeper:3.4.9
hostname: zookeeper
ports:
- "2181:2181"
environment:
ZOO_MY_ID: 1
ZOO_PORT: 2181
ZOO_SERVERS: server.1=zookeeper:2888:3888
volumes:
- ./data/zookeeper/data:/data
- ./data/zookeeper/datalog:/datalog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment