Skip to content

Commit 89a5a40

Browse files
committed
chore: EC2 호스트 내부 실제 경로 추가
1 parent fb76b29 commit 89a5a40

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

task-definition-dev.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,20 @@
122122
}
123123
}
124124
],
125+
"volumes": [
126+
{
127+
"name": "prometheus-storage",
128+
"host": {
129+
"sourcePath": "/ecs/prometheus-data"
130+
}
131+
},
132+
{
133+
"name": "grafana-storage",
134+
"host": {
135+
"sourcePath": "/ecs/grafana-data"
136+
}
137+
}
138+
],
125139
"taskRoleArn": "arn:aws:iam::750819668269:role/ecsTaskExecutionRole",
126140
"executionRoleArn": "arn:aws:iam::750819668269:role/ecsTaskExecutionRole",
127141
"requiresCompatibilities": [

task-definition-prod.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,20 @@
9494
}
9595
}
9696
],
97+
"volumes": [
98+
{
99+
"name": "prometheus-storage",
100+
"host": {
101+
"sourcePath": "/ecs/prometheus-data"
102+
}
103+
},
104+
{
105+
"name": "grafana-storage",
106+
"host": {
107+
"sourcePath": "/ecs/grafana-data"
108+
}
109+
}
110+
],
97111
"taskRoleArn": "arn:aws:iam::750819668269:role/ecsTaskExecutionRole",
98112
"executionRoleArn": "arn:aws:iam::750819668269:role/ecsTaskExecutionRole",
99113
"requiresCompatibilities": [

0 commit comments

Comments
 (0)