Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker #94

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Marathon JSON app definition
  • Loading branch information
James Oliver committed Jul 6, 2015
commit ffef152763f93ecf938898bc660e605c2882aa74
39 changes: 39 additions & 0 deletions marathon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"id": "/kafka-manager",
"cpus": 0.5,
"mem": 256.0,
"instances": 1,
"container": {
"type": "DOCKER",
"docker": {
"image": "stealthly/kafkamanager",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"image": "stealthly/kafka-manager",
instead of
"image": "stealthly/kafkamanager",

"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 9000,
"hostPort": 0,
"protocol": "tcp"
}
],
"privileged": false,
"parameters": [
{ "key": "tty", "value": "true" }
]
},
"volumes": []
},
"env": {
"APPLICATION_SECRET": "letmein"
},
"healthChecks": [
{
"protocol": "HTTP",
"portIndex": 0,
"path": "/",
"gracePeriodSeconds": 10,
"intervalSeconds": 30,
"maxConsecutiveFailures": 3
}
]
}