Skip to content

Instantly share code, notes, and snippets.

@kgorskowski
Created June 30, 2015 13:29
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 kgorskowski/c8d1d8e62ff5e218108c to your computer and use it in GitHub Desktop.
Save kgorskowski/c8d1d8e62ff5e218108c to your computer and use it in GitHub Desktop.
aws-ecs-create-task.json
{
"family": "smilio_instanz_id",
"containerDefinitions": [
{
"name": "smilio_instanz_id",
"image": "codemonauts/docker-craft",
"cpu": 200,
"memory": 128,
"portMappings": [{
"containerPort": 80,
"hostPort": 0
}],
"essential": true,
"mountPoints": [{
"sourceVolume": "mnt",
"containerPath": "/htdocs/",
"readOnly": false
}],
"environment": [
{
"name": "MANDRILL_API",
"value": "MANDILL_API"
},
{
"name": "SERVICE_NAME",
"value": "smilio"
},
{
"name": "ACCOUNT_ID",
"value": "instanz_id"
},
{
"name": "SERVICE_TAGS",
"value": "instanz_id"
}
]
}
],
"volumes": [{
"name": "mnt",
"host": {
"sourcePath": "/mnt/smilio/instanz_id"
}}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment