Created
January 5, 2020 06:35
-
-
Save kutzhanov/1169c77ca112dbedee624bcde21ae6d0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "ipcMode": null, | |
| "executionRoleArn": "arn:aws:iam::<aws-account-number>:role/ecsTaskExecutionRole", | |
| "containerDefinitions": [ | |
| { | |
| "dnsSearchDomains": [], | |
| "logConfiguration": { | |
| "logDriver": "awslogs", | |
| "secretOptions": [], | |
| "options": { | |
| "awslogs-group": "/ecs/mobile", | |
| "awslogs-region": "eu-central-1", | |
| "awslogs-stream-prefix": "ecs" | |
| } | |
| }, | |
| "entryPoint": [], | |
| "portMappings": [ | |
| { | |
| "hostPort": 8080, | |
| "protocol": "tcp", | |
| "containerPort": 8080 | |
| } | |
| ], | |
| "command": [], | |
| "linuxParameters": null, | |
| "cpu": 512, | |
| "environment": [], | |
| "resourceRequirements": null, | |
| "ulimits": [], | |
| "dnsServers": [], | |
| "mountPoints": [], | |
| "workingDirectory": null, | |
| "secrets": [], | |
| "dockerSecurityOptions": [], | |
| "memory": 2048, | |
| "memoryReservation": null, | |
| "volumesFrom": [], | |
| "stopTimeout": null, | |
| "image": "<aws-account-number>.dkr.ecr.eu-central-1.amazonaws.com/mobile:ed17d55e", | |
| "startTimeout": null, | |
| "firelensConfiguration": null, | |
| "dependsOn": null, | |
| "disableNetworking": null, | |
| "interactive": null, | |
| "healthCheck": null, | |
| "essential": true, | |
| "links": [], | |
| "hostname": null, | |
| "extraHosts": [], | |
| "pseudoTerminal": null, | |
| "user": null, | |
| "readonlyRootFilesystem": null, | |
| "dockerLabels": {}, | |
| "systemControls": [], | |
| "privileged": null, | |
| "name": "mobile" | |
| }, | |
| { | |
| "dnsSearchDomains": [], | |
| "logConfiguration": null, | |
| "entryPoint": [], | |
| "portMappings": [ | |
| { | |
| "hostPort": 22, | |
| "protocol": "tcp", | |
| "containerPort": 22 | |
| } | |
| ], | |
| "command": [], | |
| "linuxParameters": null, | |
| "cpu": 0, | |
| "environment": [], | |
| "resourceRequirements": null, | |
| "ulimits": [], | |
| "dnsServers": [], | |
| "mountPoints": [], | |
| "workingDirectory": null, | |
| "secrets": [], | |
| "dockerSecurityOptions": [], | |
| "memory": null, | |
| "memoryReservation": 128, | |
| "volumesFrom": [ | |
| { | |
| "sourceContainer": "mobile", | |
| "readOnly": null | |
| } | |
| ], | |
| "stopTimeout": null, | |
| "image": "<aws-account-number>.dkr.ecr.eu-central-1.amazonaws.com/sshd:latest", | |
| "startTimeout": null, | |
| "firelensConfiguration": null, | |
| "dependsOn": null, | |
| "disableNetworking": null, | |
| "interactive": null, | |
| "healthCheck": null, | |
| "essential": false, | |
| "links": [], | |
| "hostname": null, | |
| "extraHosts": [], | |
| "pseudoTerminal": null, | |
| "user": null, | |
| "readonlyRootFilesystem": null, | |
| "dockerLabels": {}, | |
| "systemControls": [], | |
| "privileged": null, | |
| "name": "sshd_container" | |
| } | |
| ], | |
| "placementConstraints": [], | |
| "memory": "2048", | |
| "taskRoleArn": null, | |
| "compatibilities": [ | |
| "EC2", | |
| "FARGATE" | |
| ], | |
| "taskDefinitionArn": "arn:aws:ecs:eu-central-1:<aws-account-number>:task-definition/mobile:2", | |
| "family": "mobile", | |
| "requiresAttributes": [ | |
| { | |
| "targetId": null, | |
| "targetType": null, | |
| "value": null, | |
| "name": "com.amazonaws.ecs.capability.logging-driver.awslogs" | |
| }, | |
| { | |
| "targetId": null, | |
| "targetType": null, | |
| "value": null, | |
| "name": "ecs.capability.execution-role-awslogs" | |
| }, | |
| { | |
| "targetId": null, | |
| "targetType": null, | |
| "value": null, | |
| "name": "com.amazonaws.ecs.capability.ecr-auth" | |
| }, | |
| { | |
| "targetId": null, | |
| "targetType": null, | |
| "value": null, | |
| "name": "com.amazonaws.ecs.capability.docker-remote-api.1.19" | |
| }, | |
| { | |
| "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.21" | |
| }, | |
| { | |
| "targetId": null, | |
| "targetType": null, | |
| "value": null, | |
| "name": "ecs.capability.execution-role-ecr-pull" | |
| }, | |
| { | |
| "targetId": null, | |
| "targetType": null, | |
| "value": null, | |
| "name": "com.amazonaws.ecs.capability.docker-remote-api.1.18" | |
| }, | |
| { | |
| "targetId": null, | |
| "targetType": null, | |
| "value": null, | |
| "name": "ecs.capability.task-eni" | |
| } | |
| ], | |
| "pidMode": null, | |
| "requiresCompatibilities": [ | |
| "FARGATE" | |
| ], | |
| "networkMode": "awsvpc", | |
| "cpu": "1024", | |
| "revision": 2, | |
| "status": "ACTIVE", | |
| "inferenceAccelerators": null, | |
| "proxyConfiguration": null, | |
| "volumes": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment