-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathstaging-taskdef.json
197 lines (197 loc) · 6.66 KB
/
staging-taskdef.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"requiresCompatibilities": [
"FARGATE"
],
"inferenceAccelerators": [],
"containerDefinitions": [
{
"dnsSearchDomains": null,
"environmentFiles": [],
"logConfiguration": {
"logDriver": "awsfirelens",
"options": {
"Name": "datadog",
"Host": "http-intake.logs.datadoghq.com",
"dd_service": "proof-generator-api-staging",
"dd_source": "nodejs",
"TLS": "on",
"provider": "ecs"
},
"secretOptions": [
{
"name": "apiKey",
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/DATADOG_APIKEY"
}
]
},
"entryPoint": null,
"portMappings": [
{
"hostPort": 5000,
"protocol": "tcp",
"containerPort": 5000
}
],
"command": null,
"linuxParameters": null,
"cpu": 0,
"environment": [
{
"name": "PORT",
"value": "5000"
},
{
"name": "NODE_ENV",
"value": "production"
}
],
"resourceRequirements": null,
"ulimits": null,
"dnsServers": null,
"mountPoints": null,
"workingDirectory": null,
"secrets": [
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/ETHEREUM_RPC",
"name": "ETHEREUM_RPC"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/GOERLI_RPC",
"name": "GOERLI_RPC"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/SEPOLIA_RPC",
"name": "SEPOLIA_RPC"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/MATIC_RPC",
"name": "MATIC_RPC"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/MUMBAI_RPC",
"name": "MUMBAI_RPC"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/AMOY_RPC",
"name": "AMOY_RPC"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/SENTRY_DSN",
"name": "SENTRY_DSN"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/ZKEVM_MAINNET_URL",
"name": "ZKEVM_MAINNET_URL"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/ZKEVM_TESTNET_URL",
"name": "ZKEVM_TESTNET_URL"
},
{
"valueFrom": "arn:aws:ssm:eu-west-1:070528468658:parameter/proof-generator-staging/ZKEVM_NEW_TESTNET_URL",
"name": "ZKEVM_NEW_TESTNET_URL"
}
],
"dockerSecurityOptions": null,
"memory": null,
"memoryReservation": null,
"volumesFrom": null,
"stopTimeout": null,
"image": "nginx:latest",
"startTimeout": null,
"firelensConfiguration": null,
"dependsOn": null,
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"systemControls": null,
"privileged": null,
"name": "proof-generator-staging",
"repositoryCredentials": {
"credentialsParameter": ""
}
},
{
"essential": true,
"image": "amazon/aws-for-fluent-bit:stable",
"name": "log_router",
"firelensConfiguration": {
"type": "fluentbit",
"options": {
"enable-ecs-log-metadata": "true"
}
},
"environment": null,
"secrets": null,
"memoryReservation": 50,
"resourceRequirements": null,
"portMappings": [],
"environmentFiles": [],
"mountPoints": null,
"volumesFrom": null,
"hostname": null,
"user": null,
"workingDirectory": null,
"extraHosts": null,
"logConfiguration": null,
"ulimits": null,
"dockerLabels": null,
"dependsOn": null,
"repositoryCredentials": {
"credentialsParameter": ""
}
}
],
"volumes": [],
"networkMode": "awsvpc",
"memory": "2048",
"cpu": "1024",
"executionRoleArn": "arn:aws:iam::070528468658:role/proof-generator-staging-TaskRole",
"family": "proof-generator-staging-taskdefinition",
"taskRoleArn": "arn:aws:iam::070528468658:role/proof-generator-staging-TaskRole",
"runtimePlatform": {
"operatingSystemFamily": "LINUX"
},
"tags": [
{
"key": "Role",
"value": "backend-api"
},
{
"key": "ParentService",
"value": "proof-generator-staging"
},
{
"key": "Environment",
"value": "staging"
},
{
"key": "Service",
"value": "proof-generator-staging.polygon.technology"
},
{
"key": "Host",
"value": "AWS"
},
{
"key": "IAC",
"value": "terraform-workspace-aws-test-applications-eu-west-1-apps-proof-generator-staging-polygon-technology"
},
{
"key": "Team",
"value": "dev-studio-engineering"
},
{
"key": "Name",
"value": "proof-generator-staging-taskdefinition"
}
]
}