-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask_definition.json
More file actions
70 lines (70 loc) · 2.14 KB
/
task_definition.json
File metadata and controls
70 lines (70 loc) · 2.14 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
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
{
"family": "__TASK_FAMILY__",
"taskRoleArn": "__AWS_TASK_ROLE_ARN__",
"executionRoleArn": "__AWS_EXECUTION_ROLE_ARN__",
"networkMode": "awsvpc",
"containerDefinitions": [
{
"name": "auction-spring-notification",
"image": "__ECR_URI__",
"portMappings": [
{
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [
{
"name": "SERVER_PORT",
"value": "8080"
},
{
"name": "SPRING_DATA_REDIS_SSL_ENABLED",
"value": "true"
},
{
"name": "SPRING_PROFILES_ACTIVE",
"value": "prod"
}
],
"startTimeout": 120,
"stopTimeout": 120,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "fargate-spring-notification",
"awslogs-create-group": "true",
"awslogs-region": "__AWS_REGION__",
"awslogs-stream-prefix": "spring-notification"
}
},
"healthCheck": {
"command": [
"CMD-SHELL",
"curl --fail --silent localhost:8080/actuator/health | grep UP || exit 1"
],
"interval": 10,
"timeout": 5,
"retries": 5,
"startPeriod": 300
},
"systemControls": []
}
],
"requiresCompatibilities": [ "FARGATE" ],
"cpu": "256",
"memory": "1024",
"runtimePlatform": {
"cpuArchitecture": "ARM64",
"operatingSystemFamily": "LINUX"
},
"tags": [
{
"key": "reverse-auction",
"value": ""
}
]
}