-
Notifications
You must be signed in to change notification settings - Fork 4
/
task-definition.json
62 lines (61 loc) · 1.48 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
{
"containerDefinitions": [
{
"essential": true,
"image": "999111338687.dkr.ecr.eu-west-3.amazonaws.com/ai-cut:client",
"name": "client",
"portMappings": [
{
"containerPort": 3000,
"hostPort": 3000
}
]
},
{
"environment": [
{
"name": "MYSQL_ROOT_PASSWORD",
"value": "root"
}
],
"essential": true,
"image": "mysql:latest",
"mountPoints": [
{
"containerPath": "/var/lib/mysql",
"sourceVolume": "Db-Data"
}
],
"name": "db",
"portMappings": [
{
"containerPort": 3306,
"hostPort": 3306
}
]
},
{
"essential": true,
"image": "999111338687.dkr.ecr.eu-west-3.amazonaws.com/ai-cut:server",
"name": "server",
"portMappings": [
{
"containerPort": 8082,
"hostPort": 8082
}
]
}
],
"volumes": [
{
"name": "Db-Data"
}
],
"inferenceAccelerators": [],
"networkMode": "",
"memory": "3884",
"cpu": "2048",
"executionRoleArn": "arn:aws:iam::999111338687:role/ecsTaskExecutionRole",
"family": "DeploymentContainer",
"placementConstraints": []
}