-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatd.json
151 lines (151 loc) · 4.33 KB
/
atd.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"taskDefinitionArn": "arn:aws:ecs:us-east-1:183631301890:task-definition/cutlink-task:25",
"containerDefinitions": [
{
"name": "cutlink-api",
"image": "183631301890.dkr.ecr.us-east-1.amazonaws.com/studies/cutlink:latest",
"cpu": 256,
"memory": 512,
"portMappings": [
{
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp"
}
],
"essential": true,
"environment": [
{
"name": "ALLOWED_ORIGINS",
"value": "https://short.cutli.ink"
},
{
"name": "SHORTENED_BASE_URL",
"value": "https://cutli.ink/"
}
],
"mountPoints": [],
"volumesFrom": [],
"linuxParameters": {
"initProcessEnabled": true
},
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/cutlink-api",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
},
"healthCheck": {
"command": [
"CMD-SHELL",
"apk add --no-cache curl",
"curl -f http://localhost:8080/health || exit 1"
],
"interval": 30,
"timeout": 5,
"retries": 3,
"startPeriod": 10
},
"systemControls": []
},
{
"name": "redis",
"image": "redis:alpine",
"cpu": 128,
"memory": 256,
"portMappings": [
{
"containerPort": 6379,
"hostPort": 6379,
"protocol": "tcp"
}
],
"essential": true,
"environment": [],
"mountPoints": [],
"volumesFrom": [],
"linuxParameters": {
"initProcessEnabled": true
},
"healthCheck": {
"command": [
"CMD",
"redis-cli",
"ping"
],
"interval": 30,
"timeout": 5,
"retries": 3,
"startPeriod": 5
},
"systemControls": []
}
],
"family": "cutlink-task",
"taskRoleArn": "arn:aws:iam::183631301890:role/ecsTaskRole",
"executionRoleArn": "arn:aws:iam::183631301890:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"revision": 25,
"volumes": [],
"status": "ACTIVE",
"requiresAttributes": [
{
"name": "ecs.capability.execution-role-awslogs"
},
{
"name": "com.amazonaws.ecs.capability.ecr-auth"
},
{
"name": "com.amazonaws.ecs.capability.task-iam-role"
},
{
"name": "ecs.capability.container-health-check"
},
{
"name": "ecs.capability.execution-role-ecr-pull"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
},
{
"name": "ecs.capability.task-eni"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
},
{
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.25"
},
{
"name": "ecs.capability.extensible-ephemeral-storage"
}
],
"placementConstraints": [],
"compatibilities": [
"EC2",
"FARGATE"
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "512",
"memory": "1024",
"ephemeralStorage": {
"sizeInGiB": 21
},
"runtimePlatform": {
"operatingSystemFamily": "LINUX"
},
"registeredAt": "2024-12-31T21:02:59.131Z",
"registeredBy": "arn:aws:iam::183631301890:root",
"enableFaultInjection": false,
"tags": []
}