-
Notifications
You must be signed in to change notification settings - Fork 10
/
task-def.json
73 lines (73 loc) · 1.7 KB
/
task-def.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
{
"containerDefinitions": [
{
"memory": 2048,
"extraHosts": [],
"dnsServers": [],
"dnsSearchDomains": [],
"portMappings": [
{
"hostPort": 9015,
"containerPort": 3307,
"protocol": "tcp"
}
],
"essential": true,
"entryPoint": [],
"mountPoints": [],
"name": "mongo-bi-connector",
"ulimits": [],
"dockerSecurityOptions": [],
"environment": [
{
"name": "ADDR",
"value": "172.17.0.2:3307"
},
{
"name": "DB_NAME",
"value": "visage"
},
{
"name": "MONGO_AUTH",
"value": "1"
},
{
"name": "MONGO_HOST",
"value": "{{HOST_MONGO}}"
},
{
"name": "MONGO_PORT",
"value": "{{PORT_MONGO}}"
},
{
"name": "SCHEMA_PATH",
"value": "/etc/mongodb-bi-connector/schema/mongomysqlmap.drdl"
}
],
"readonlyRootFilesystem": false,
"image": "732934994755.dkr.ecr.us-east-1.amazonaws.com/visage/mongo-bi-connector:{{IMAGE_VERSION}}",
"command": [
"wait-and-run.sh"
],
"dockerLabels": {},
"cpu": 0,
"privileged": true,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "awslogs-be-mongo-bi-connector",
"awslogs-region": "us-west-2",
"awslogs-stream-prefix": "awslogs-be-mongo-bi-connector-{{INSTANCE_ID}}"
}
}
}
],
"placementConstraints": [
{
"expression": "attribute:role == tools",
"type": "memberOf"
}
],
"volumes": [],
"family": "{{ECS_FAMILY}}"
}