File tree Expand file tree Collapse file tree 2 files changed +36
-11
lines changed
Expand file tree Collapse file tree 2 files changed +36
-11
lines changed Original file line number Diff line number Diff line change 6767 {
6868 "name" : " prometheus" ,
6969 "image" : " prometheus-image-placeholder" ,
70- "cpu" : 100 ,
70+ "cpu" : 200 ,
7171 "essential" : false ,
7272 "portMappings" : [
7373 {
7676 "protocol" : " tcp"
7777 }
7878 ],
79+ "mountPoints" : [
80+ {
81+ "sourceVolume" : " prometheus-storage" ,
82+ "containerPath" : " /prometheus"
83+ }
84+ ],
7985 "logConfiguration" : {
8086 "logDriver" : " awslogs" ,
8187 "options" : {
99105 "protocol" : " tcp"
100106 }
101107 ],
108+ "mountPoints" : [
109+ {
110+ "sourceVolume" : " grafana-storage" ,
111+ "containerPath" : " /var/lib/grafana"
112+ }
113+ ],
102114 "essential" : false ,
103115 "logConfiguration" : {
104116 "logDriver" : " awslogs" ,
116128 " EC2"
117129 ],
118130 "cpu" : " 1024" ,
119- "memory" : " 900 " ,
131+ "memory" : " 1024 " ,
120132 "runtimePlatform" : {
121133 "cpuArchitecture" : " X86_64" ,
122134 "operatingSystemFamily" : " LINUX"
Original file line number Diff line number Diff line change 44 "containerDefinitions" : [
55 {
66 "name" : " bitnagil" ,
7- "cpu" : 1024 ,
7+ "cpu" : 700 ,
88 "portMappings" : [
99 {
1010 "containerPort" : 8080 ,
4545 {
4646 "name" : " prometheus" ,
4747 "image" : " prometheus-image-placeholder" ,
48- "cpu" : 256 ,
49- "memoryReservation" : 256 ,
48+ "cpu" : 200 ,
5049 "essential" : false ,
51- "portMappings" : [ { "containerPort" : 9090 , "protocol" : " tcp" } ],
50+ "portMappings" : [ {
51+ "containerPort" : 9090 ,
52+ "hostPort" : 0 ,
53+ "protocol" : " tcp" } ],
54+ "mountPoints" : [
55+ {
56+ "sourceVolume" : " prometheus-storage" ,
57+ "containerPath" : " /prometheus"
58+ }
59+ ],
5260 "logConfiguration" : {
5361 "logDriver" : " awslogs" ,
5462 "options" : {
6169 {
6270 "name" : " grafana" ,
6371 "image" : " grafana/grafana:10.4.1" ,
64- "cpu" : 256 ,
65- "memoryReservation" : 256 ,
72+ "cpu" : 100 ,
6673 "portMappings" : [
6774 {
6875 "containerPort" : 3000 ,
69- "hostPort" : 3000 ,
76+ "hostPort" : 0 ,
7077 "protocol" : " tcp"
7178 }
7279 ],
80+ "mountPoints" : [
81+ {
82+ "sourceVolume" : " grafana-storage" ,
83+ "containerPath" : " /var/lib/grafana"
84+ }
85+ ],
7386 "essential" : false ,
7487 "logConfiguration" : {
7588 "logDriver" : " awslogs" ,
8699 "requiresCompatibilities" : [
87100 " EC2"
88101 ],
89- "cpu" : " 2048 " ,
90- "memory" : " 1028 " ,
102+ "cpu" : " 1024 " ,
103+ "memory" : " 1024 " ,
91104 "runtimePlatform" : {
92105 "cpuArchitecture" : " X86_64" ,
93106 "operatingSystemFamily" : " LINUX"
You can’t perform that action at this time.
0 commit comments