-
Notifications
You must be signed in to change notification settings - Fork 3
/
angular-ecs.json
61 lines (61 loc) · 1.94 KB
/
angular-ecs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"family": "%SPACE%-angular",
"networkMode": "awsvpc",
"taskRoleArn": "arn:aws:iam::%AWS_ACCOUNT_ID%:role/%ENV_NAME%-ecs-task-execution-role",
"executionRoleArn": "arn:aws:iam::%AWS_ACCOUNT_ID%:role/%ENV_NAME%-ecs-task-execution-role",
"runtimePlatform": {
"operatingSystemFamily": "LINUX"
},
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512",
"containerDefinitions": [
{
"name": "%SPACE%-angular",
"image": "%AWS_ACCOUNT_ID%.dkr.ecr.eu-west-2.amazonaws.com/%SPACE%-angular:%SPACE%-angular-%BUILD_NUMBER%",
"cpu": 0,
"memoryReservation": 512,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp"
}
],
"essential": true,
"entryPoint": [],
"command": [],
"environment": [],
"secrets": [
{
"name": "ACCESSKEYID",
"valueFrom": "ACCESSKEYID"
},
{
"name": "ACCESSKEYSECRET",
"valueFrom": "ACCESSKEYSECRET"
},
{
"name": "REGION",
"valueFrom": "REGION"
},
{
"name": "STARTUP_URL",
"valueFrom": "STARTUP_URL"
}
],
"mountPoints": [],
"volumesFrom": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/%SPACE%-angular",
"awslogs-region": "eu-west-2",
"awslogs-stream-prefix": "ecs"
}
}
}
]
}