forked from TEAM-ONLY-4/Only4_Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask-settlement.json
More file actions
44 lines (43 loc) · 1.37 KB
/
task-settlement.json
File metadata and controls
44 lines (43 loc) · 1.37 KB
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
{
"family": "only4-settlement-task",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "1024",
"memory": "2048",
"executionRoleArn": "ECS_TASK_EXECUTION_ROLE_ARN",
"taskRoleArn": "ECS_TASK_ROLE_ARN",
"containerDefinitions": [
{
"name": "settlement-container",
"image": "SETTLEMENT_IMAGE_PLACEHOLDER",
"essential": true,
"command": [
"java",
"-jar",
"app.jar",
"--spring.batch.job.name=settlementJob",
"--spring.main.web-application-type=none"
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/only4-batch",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "settlement"
}
},
"dockerLabels": {
"PROMETHEUS_EXPORTER_PORT": "8080",
"PROMETHEUS_EXPORTER_PATH": "/actuator/prometheus"
},
"environment": [
{ "name": "SPRING_PROFILES_ACTIVE", "value": "prod" },
{ "name": "SPRING_BATCH_JOB_ENABLED", "value": "true" },
{ "name": "SPRING_BATCH_JOB_NAME", "value": "settlementJob" },
{ "name": "SPRING_APPLICATION_NAME", "value": "only4-settlement" },
{ "name": "SPRING_BATCH_JOB_EXIT_ON_COMPLETION", "value": "true" },
{ "name": "SPRING_MAIN_WEB_APPLICATION_TYPE", "value": "none" }
]
}
]
}