forked from deepfence/ThreatMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecs_task_definition.json
130 lines (130 loc) · 3.77 KB
/
ecs_task_definition.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
{
"ipcMode": null,
"executionRoleArn": "",
"containerDefinitions": [
{
"dnsSearchDomains": null,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/ecs-deepfence-agent",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
},
"entryPoint": [
"/usr/local/bin/start_services"
],
"portMappings": [],
"command": [],
"linuxParameters": null,
"cpu": 200,
"environment": [
{
"name": "DF_BACKEND_IP",
"value": "0.0.0.0"
},
{
"name": "DEEPFENCE_KEY",
"value": ""
},
{
"name": "USER_DEFINED_TAGS",
"value": ""
}
],
"resourceRequirements": null,
"ulimits": null,
"dnsServers": null,
"mountPoints": [
{
"readOnly": true,
"containerPath": "/fenced/mnt/host/",
"sourceVolume": "Host"
},
{
"readOnly": null,
"containerPath": "/sys/kernel/debug",
"sourceVolume": "SysKernelDebug"
},
{
"readOnly": null,
"containerPath": "/var/run/docker.sock",
"sourceVolume": "DockerSock"
},
{
"readOnly": null,
"containerPath": "/var/log/fenced",
"sourceVolume": "VarLogFenced"
}
],
"workingDirectory": "/home/deepfence",
"secrets": null,
"dockerSecurityOptions": null,
"memory": null,
"memoryReservation": 1024,
"volumesFrom": [],
"stopTimeout": null,
"image": "docker.io/deepfenceio/deepfence_agent_ce:latest",
"startTimeout": null,
"dependsOn": null,
"disableNetworking": null,
"interactive": null,
"healthCheck": null,
"essential": true,
"links": null,
"hostname": null,
"extraHosts": null,
"pseudoTerminal": null,
"user": "root",
"readonlyRootFilesystem": false,
"dockerLabels": {
"deepfence.role": "system"
},
"systemControls": null,
"privileged": true,
"name": "deepfence_agent"
}
],
"memory": null,
"taskRoleArn": "",
"family": "ecs-deepfence-agent",
"pidMode": null,
"requiresCompatibilities": [
"EC2"
],
"networkMode": "host",
"cpu": null,
"proxyConfiguration": null,
"volumes": [
{
"name": "Host",
"host": {
"sourcePath": "/"
},
"dockerVolumeConfiguration": null
},
{
"name": "SysKernelDebug",
"host": {
"sourcePath": "/sys/kernel/debug"
},
"dockerVolumeConfiguration": null
},
{
"name": "DockerSock",
"host": {
"sourcePath": "/var/run/docker.sock"
},
"dockerVolumeConfiguration": null
},
{
"name": "VarLogFenced",
"host": {
"sourcePath": null
},
"dockerVolumeConfiguration": null
}
],
"placementConstraints": []
}