Created
May 24, 2016 09:21
-
-
Save mhausenblas/040c7ae5e0ba42ce93e17b891f460520 to your computer and use it in GitHub Desktop.
A Marathon app spec to launch CockroachDB (dev/test mode)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "cockroachdb", | |
"instances": 1, | |
"cpus": 1, | |
"mem": 300, | |
"cmd": "./cockroach start --insecure --host=0.0.0.0 --logtostderr", | |
"container": { | |
"type": "DOCKER", | |
"docker": { | |
"image": "cockroachdb/cockroach:beta-20160512", | |
"network": "BRIDGE", | |
"portMappings": [ | |
{ | |
"containerPort": 8080, | |
"hostPort": 0 | |
}, | |
{ | |
"containerPort": 26257, | |
"hostPort": 0 | |
} | |
] | |
} | |
}, | |
"acceptedResourceRoles": [ | |
"slave_public" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment