forked from TEAM-ONLY-4/Only_4_kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask-kafka.json
More file actions
40 lines (40 loc) · 994 Bytes
/
task-kafka.json
File metadata and controls
40 lines (40 loc) · 994 Bytes
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
{
"family": "only4-kafka-task",
"networkMode": "awsvpc",
"executionRoleArn": "ECS_TASK_EXECUTION_ROLE_ARN",
"taskRoleArn": "ECS_TASK_ROLE_ARN",
"cpu": "1024",
"memory": "2048",
"requiresCompatibilities": [
"FARGATE"
],
"containerDefinitions": [
{
"name": "kafka-container",
"image": "${ECR_REPOSITORY_URI}:latest",
"essential": true,
"portMappings": [
{
"containerPort": 8081,
"hostPort": 8081,
"protocol": "tcp"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/only4-kafka",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
}
},
"dockerLabels": {
"PROMETHEUS_EXPORTER_PORT": "8081",
"PROMETHEUS_EXPORTER_PATH": "/actuator/prometheus"
},
"environment": [
{ "name": "SPRING_PROFILES_ACTIVE", "value": "prod" }
]
}
]
}