-
Notifications
You must be signed in to change notification settings - Fork 0
/
task_definition
97 lines (94 loc) · 2.91 KB
/
task_definition
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
{
"containerDefinitions": [
{
"name": "sonarqube",
"image": "910617026399.dkr.ecr.us-east-1.amazonaws.com/sonarqube-community:latest",
"cpu": 0,
"portMappings": [
{
"name": "sonar",
"containerPort": 9000,
"hostPort": 9000,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"command": [
"-Dsonar.search.javaAdditionalOpts=-Dnode.store.allow_mmap=false"
],
"environment": [
{
"name": "SONAR_JDBC_URL",
"value": "jdbc:postgresql://sonarq.c9fexvbjazas.us-east-1.rds.amazonaws.com:5432/postgres"
},
{
"name": "SONAR_JDBC_USERNAME",
"value": "sonarqube"
},
{
"name": "SONAR_JDBC_PASSWORD",
"value": "rP3PGbx45"
}
],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/SonarQubeProd",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
}
}
],
"family": "SonarQubeProd",
"taskRoleArn": "arn:aws:iam::910617026399:role/ECS-ROL",
"executionRoleArn": "arn:aws:iam::910617026399:role/ECS-ROL",
"networkMode": "awsvpc",
"volumes": [
{
"name": "conf",
"efsVolumeConfiguration": {
"fileSystemId": "fs-051a4cbb4ca16a7bd",
"rootDirectory": "/opt/sonarqube/conf"
}
},
{
"name": "logs",
"efsVolumeConfiguration": {
"fileSystemId": "fs-051a4cbb4ca16a7bd",
"rootDirectory": "/opt/sonarqube/logs"
}
},
{
"name": "data",
"efsVolumeConfiguration": {
"fileSystemId": "fs-051a4cbb4ca16a7bd",
"rootDirectory": "/opt/sonarqube/data"
}
},
{
"name": "extensions",
"efsVolumeConfiguration": {
"fileSystemId": "fs-051a4cbb4ca16a7bd",
"rootDirectory": "/opt/sonarqube/extensions"
}
}
],
"placementConstraints": [],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "4096",
"memory": "8192",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
}
}