First example using a JSON blob as the configuration for a job
This commit is contained in:
parent
f4ac7abe1b
commit
073faabc21
2 changed files with 136 additions and 0 deletions
21
examples/job.json
Normal file
21
examples/job.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"name": "sample",
|
||||
"cpu": 1.4,
|
||||
"ram_mb": 128,
|
||||
"disk_mb": 64,
|
||||
"executor": "docker-compose-executor",
|
||||
"service": false,
|
||||
"ports": 1,
|
||||
"instances": 1,
|
||||
"uris": [
|
||||
{
|
||||
"uri": "https://github.com/mesos/docker-compose-executor/releases/download/0.1.0/sample-app.tar.gz",
|
||||
"extract": true,
|
||||
"cache": true
|
||||
}
|
||||
],
|
||||
"labels":{
|
||||
"fileName":"sample-app/docker-compose.yml"
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue