Skip to content

Instantly share code, notes, and snippets.

@minyk
Created June 16, 2016 07:33
Show Gist options
  • Save minyk/a01cdc79ddc084179108071352b54f96 to your computer and use it in GitHub Desktop.
Save minyk/a01cdc79ddc084179108071352b54f96 to your computer and use it in GitHub Desktop.
{
"id": "nifi",
"cmd": null,
"cpus": 1,
"mem": 1024,
"disk": 1000,
"instances": 1,
"container": {
"docker": {
"image": "mkobit/nifi:0.6.1-oracle-java8",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 8080,
"protocol": "tcp",
"name": null
},
{
"containerPort": 8081,
"protocol": "tcp",
"name": null
}
]
},
"type": "DOCKER",
"volumes": [
{
"hostPath": "nifi",
"containerPath": "/nifi",
"mode": "RW"
},
{
"containerPath": "nifi",
"persistent": {
"size": 5000
},
"mode": "RW"
}
]
},
"env": {
"NIFI_HOME": "/nifi"
},
"labels": {
"DCOS_PACKAGE_RELEASE": "1",
"DCOS_SERVICE_SCHEME": "http",
"DCOS_PACKAGE_SOURCE": "https://hub.docker.com/r/mkobit/nifi",
"DCOS_PACKAGE_METADATA": "",
"DCOS_PACKAGE_REGISTRY_VERSION": "0.1",
"DCOS_SERVICE_NAME": "nifi",
"DCOS_SERVICE_PORT_INDEX": "0",
"DCOS_PACKAGE_VERSION": "0.6.1",
"DCOS_PACKAGE_NAME": "nifi",
"DCOS_PACKAGE_IS_FRAMEWORK": "true"
},
"healthChecks": [
{
"protocol": "HTTP",
"path": "/nifi",
"portIndex": 0,
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment