-
Notifications
You must be signed in to change notification settings - Fork 9
/
app.json.tpl
109 lines (109 loc) · 3.31 KB
/
app.json.tpl
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
[
{
"Name": "${container_name}",
"Image": "${container_image}",
"PortMappings": [
{
"containerPort": ${container_port},
"hostPort": ${container_port},
"protocol": "tcp"
}
],
"Essential": true,
"DependsOn": [
{
"containerName": "${APPDYNAMICS_AGENT_CONTAINER_NAME}",
"condition": "COMPLETE"
}
],
"mountPoints": [
{
"sourceVolume": "appd-agent-volume",
"containerPath": "/opt/appdynamics-agent/dotnet",
"readOnly": false
}
],
"Command": [
"/bin/sh",
"-c",
"ls /opt/appdynamics-agent/dotnet"
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "${aws_cloudwatch_log_group}",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "ecs"
}
},
"secrets": [
{
"name": "APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY",
"valueFrom": "${APPDYNAMICS_ACCOUNT_ACCESS_KEY_ARN}"
}
],
"environment": [
{
"name": "APPDYNAMICS_CONTROLLER_HOST_NAME",
"value": "${APPDYNAMICS_CONTROLLER_HOST_NAME}"
},
{
"name": "APPDYNAMICS_CONTROLLER_PORT",
"value": "${APPDYNAMICS_CONTROLLER_PORT}"
},
{
"name": "APPDYNAMICS_CONTROLLER_SSL_ENABLED",
"value": "${APPDYNAMICS_CONTROLLER_SSL_ENABLED}"
},
{
"name": "APPDYNAMICS_AGENT_ACCOUNT_NAME",
"value": "${APPDYNAMICS_AGENT_ACCOUNT_NAME}"
},
{
"name": "APPDYNAMICS_AGENT_APPLICATION_NAME",
"value": "${APPDYNAMICS_AGENT_APPLICATION_NAME}"
},
{
"name": "APPDYNAMICS_AGENT_TIER_NAME",
"value": "${APPDYNAMICS_AGENT_TIER_NAME}"
},
{
"name": "APPDYNAMICS_AGENT_REUSE_NODE_NAME",
"value": "${APPDYNAMICS_AGENT_REUSE_NODE_NAME}"
},
{
"name": "APPDYNAMICS_AGENT_REUSE_NODE_NAME_PREFIX",
"value": "${APPDYNAMICS_AGENT_REUSE_NODE_NAME_PREFIX}"
},
{
"name": "CORECLR_PROFILER",
"value": "${CORECLR_PROFILER}"
},
{
"name": "CORECLR_ENABLE_PROFILING",
"value": "${CORECLR_ENABLE_PROFILING}"
},
{
"name": "CORECLR_PROFILER_PATH",
"value": "${CORECLR_PROFILER_PATH}"
}
]
},
{
"Name": "${APPDYNAMICS_AGENT_CONTAINER_NAME}",
"Image": "${APPDYNAMICS_AGENT_IMAGE}",
"Essential": false,
"Command": [
"/bin/sh",
"-c",
"cp -r /opt/appdynamics/. /opt/temp"
],
"mountPoints": [
{
"sourceVolume": "appd-agent-volume",
"containerPath": "/opt/temp",
"readOnly": false
}
]
}
]