Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created October 27, 2014 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iocanel/6234b8043bc0d76d82a5 to your computer and use it in GitHub Desktop.
Save iocanel/6234b8043bc0d76d82a5 to your computer and use it in GitHub Desktop.
A ZooKeeper container definition
{
"image": "fabric8/zookeeper",
"name": "zookeeper-server-1",
"env": [
{
"name": "ZK_SERVER_ID",
"value": "1"
}
],
"ports": [
{
"name": "zookeeper-client-port",
"containerPort": 2181,
"protocol": "TCP"
},
{
"name": "zookeeper-peer-port",
"containerPort": 2888,
"protocol": "TCP"
},
{
"name": "zookeeper-election-port",
"containerPort": 3888,
"protocol": "TCP"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment