-
Notifications
You must be signed in to change notification settings - Fork 1
/
simple-flask-ecs.json
131 lines (131 loc) · 2.93 KB
/
simple-flask-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
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
{
"ipcMode": null,
"executionRoleArn": "arn:aws:iam::651340243866:role/NewRelicECSTaskExecutionRole",
"containerDefinitions": [
{
"dnsSearchDomains": null,
"environmentFiles": null,
"logConfiguration": {
"logDriver": "awslogs",
"secretOptions": null,
"options": {
"awslogs-group": "/ecs/first-run-task-definition",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
},
"entryPoint": [],
"portMappings": [
{
"hostPort": 5000,
"protocol": "tcp",
"containerPort": 5000
}
],
"command": [],
"linuxParameters": null,
"cpu": 0,
"environment": [
{
"name": "NEW_RELIC_METADATA_REPOSITORY_URL",
"value": "https://github.com/nvhoanganh/flask-python.git"
},
{
"name": "NEW_RELIC_DISTRIBUTED_TRACING_ENABLED",
"value": "true"
},
{
"name": "NEW_RELIC_METADATA_COMMIT",
"value": "b2323343c12ae61ce3624ae80253f3483434780b"
},
{
"name": "NEW_RELIC_APP_NAME",
"value": "flask on ecs"
},
{
"name": "NEW_RELIC_NO_CONFIG_FILE",
"value": "true"
},
{
"name": "NEW_RELIC_LICENSE_KEY",
"value": "0854ee10a3926211a1b7630f43cd7c9eFFFFNRAL"
}
],
"resourceRequirements": null,
"ulimits": null,
"dnsServers": null,
"mountPoints": [],
"workingDirectory": null,
"secrets": null,
"dockerSecurityOptions": null,
"memory": null,
"memoryReservation": null,
"volumesFrom": [],
"stopTimeout": null,
"image": "anthonynguyen334/flask-codestream:withNRApm",
"startTimeout": null,
"firelensConfiguration": null,
"dependsOn": null,
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": [],
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": null,
"readonlyRootFilesystem": null,
"dockerLabels": null,
"systemControls": null,
"privileged": null,
"name": "simple-flask"
},
{
"environment": [
{
"name": "NRIA_OVERRIDE_HOST_ROOT",
"value": ""
},
{
"name": "NRIA_IS_FORWARD_ONLY",
"value": "true"
},
{
"name": "FARGATE",
"value": "true"
},
{
"name": "NRIA_PASSTHROUGH_ENVIRONMENT",
"value": "ECS_CONTAINER_METADATA_URI,ECS_CONTAINER_METADATA_URI_V4,FARGATE"
},
{
"name": "NRIA_CUSTOM_ATTRIBUTES",
"value": "{\"nrDeployMethod\":\"downloadPage\"}"
}
],
"secrets": [
{
"valueFrom": "/newrelic-infra/ecs/license-key",
"name": "NRIA_LICENSE_KEY"
}
],
"cpu": 256,
"memoryReservation": 512,
"image": "newrelic/nri-ecs:1.8.1",
"name": "newrelic-infra"
}
],
"memory": "512",
"taskRoleArn": null,
"family": "first-run-task-definition",
"pidMode": null,
"requiresCompatibilities": ["FARGATE"],
"networkMode": "awsvpc",
"runtimePlatform": null,
"cpu": "256",
"inferenceAccelerators": [],
"proxyConfiguration": null,
"volumes": [],
"tags": []
}