Created
November 25, 2020 17:19
-
-
Save haric/9264af49fdf226967a4c2efd3b3aab87 to your computer and use it in GitHub Desktop.
ECS Task Definition Sample
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
| [{ | |
| "name": "web", | |
| "image": "988098771143.dkr.ecr.us-east-1.amazonaws.com/ocicb:Latest", | |
| "cpu": 256, | |
| "memory": 512, | |
| "essential": true, | |
| "portMappings": [{ | |
| "containerPort": 8080, | |
| "hostPort": 8080 | |
| }], | |
| "logConfiguration": { | |
| "logDriver": "awslogs", | |
| "options": { | |
| "awslogs-group": "awslogs-secops", | |
| "awslogs-region": "us-east-1", | |
| "awslogs-stream-prefix": "awslogs-secops-httpd" | |
| } | |
| } | |
| }] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment