-
Notifications
You must be signed in to change notification settings - Fork 0
/
task-definition.json
70 lines (70 loc) · 2.75 KB
/
task-definition.json
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
{
"requiresCompatibilities": [
"FARGATE"
],
"inferenceAccelerators": [],
"containerDefinitions": [
{
"name": "php-image",
"image": "090426658505.dkr.ecr.ap-southeast-2.amazonaws.com/php:latest",
"resourceRequirements": null,
"essential": true,
"portMappings": [
{
"containerPort": "8000",
"protocol": "tcp"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/php-task-definition",
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs"
}
},
"secrets": [
{
"name": "SS_ENVIRONMENT_TYPE",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_ENVIRONMENT_TYPE::"
},
{
"name": "SS_DATABASE_CLASS",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_DATABASE_CLASS::"
},
{
"name": "SS_DATABASE_SERVER",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_DATABASE_SERVER::"
},
{
"name": "SS_DATABASE_USERNAME",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_DATABASE_USERNAME::"
},
{
"name": "SS_DATABASE_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_DATABASE_PASSWORD::"
},
{
"name": "SS_DATABASE_NAME",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_DATABASE_NAME::"
},
{
"name": "SS_DEFAULT_ADMIN_USERNAME",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_DEFAULT_ADMIN_USERNAME::"
},
{
"name": "SS_DEFAULT_ADMIN_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:ap-southeast-2:090426658505:secret:prod/php:SS_DEFAULT_ADMIN_PASSWORD::"
}
]
}
],
"volumes": [],
"networkMode": "awsvpc",
"memory": "512",
"cpu": "256",
"executionRoleArn": "arn:aws:iam::090426658505:role/ecsTaskExecutionRole",
"family": "php-task-definition",
"taskRoleArn": "",
"placementConstraints": []
}