Skip to content

Instantly share code, notes, and snippets.

@cmharlow
Created June 4, 2018 03:59
Show Gist options
  • Save cmharlow/c186b7fd9fce8d8a0951d5db786990c2 to your computer and use it in GitHub Desktop.
Save cmharlow/c186b7fd9fce8d8a0951d5db786990c2 to your computer and use it in GitHub Desktop.
{
"executionRoleArn": null,
"containerDefinitions": [
{
"dnsSearchDomains": null,
"logConfiguration": null,
"entryPoint": [
"./api"
],
"portMappings": [
{
"hostPort": 8080,
"protocol": "tcp",
"containerPort": 8080
}
],
"command": null,
"linuxParameters": null,
"cpu": 100,
"environment": [],
"ulimits": null,
"dnsServers": null,
"mountPoints": [],
"workingDirectory": "/go/src/github.com/cmh2166/elag18apis/taquito",
"dockerSecurityOptions": null,
"memory": 300,
"memoryReservation": null,
"volumesFrom": [],
"image": "docker.io/cmharlow/taquito:latest",
"disableNetworking": null,
"healthCheck": {
"retries": 2,
"command": [
"/v1/healthcheck"
],
"timeout": 60,
"interval": 120,
"startPeriod": 10
},
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"privileged": null,
"name": "taquito"
}
],
"placementConstraints": [],
"memory": null,
"taskRoleArn": "arn:aws:iam::717140739497:role/ecsTaskDynamoDB",
"compatibilities": [
"EC2"
],
"taskDefinitionArn": "arn:aws:ecs:us-east-1:717140739497:task-definition/elagTask:2",
"family": "elagTask",
"requiresAttributes": [
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.17"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "com.amazonaws.ecs.capability.task-iam-role"
},
{
"targetId": null,
"targetType": null,
"value": null,
"name": "ecs.capability.container-health-check"
}
],
"requiresCompatibilities": [
"EC2"
],
"networkMode": null,
"cpu": null,
"revision": 2,
"status": "ACTIVE",
"volumes": []
}
{
"containerDefinitions": [
{
"name": "taquito",
"image": "cmh2166/taquito:REPLACE_TAG",
"essential": true,
"portMappings": [
{
"containerPort": 8080,
"hostPort": 8080
}
],
"environment": [
{
"name": "AWS_REGION",
"value": "REPLACE_REGION"
},
{
"name": "AWS_DISABLE_SSL",
"value": "false"
},
{
"name": "DYNAMO_DB_ENDPOINT",
"value": "dynamodb.REPLACE_REGION.amazonaws.com"
},
{
"name": "RESOURCE_TABLE_NAME",
"value": "resources-REPLACE_ENVIRONMENT"
}
]
}
],
"cpu": "256",
"memory": "0.5GB",
"networkMode": "awsvpc",
"family": "taquito",
"executionRoleArn": "arn:aws:iam::REPLACE_ACCOUNT_ID:role/REPLACE_ENVIRONMENT-ecs-task-execution-role",
"taskRoleArn": "arn:aws:iam::REPLACE_ACCOUNT_ID:role/taco-REPLACE_ENVIRONMENT-ecs-task-role"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment