-
Notifications
You must be signed in to change notification settings - Fork 0
/
task_definition.json
72 lines (72 loc) · 2.18 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
71
72
{
"containerDefinitions": [
{
"command": [
"python3",
"server.py"
],
"environment": [
{
"name": "PORT",
"value": "8080"
},
{
"name": "PREDICTOR_SECRET_KEY",
"value": "stockholm-ai"
},
{
"name": "SERVICE_VERSION",
"value": "v1"
},
{
"name": "SERVICE_NAME",
"value": "stockholm-ai"
}
],
"essential": true,
"workingDirectory": "/app",
"image": "966836717103.dkr.ecr.eu-west-1.amazonaws.com/stockholm-ai:dev",
"links": [
"serve_tensorflow_sthlm_ai:serve_tensorflow"
],
"memoryReservation": 300,
"name": "stockholm-ai",
"logConfiguration": {
"logDriver": "syslog",
"options": {"syslog-address": "tcp+tls://logs5.papertrailapp.com:26132",
"tag": "stockholm-ai-dev"
}
},
"portMappings": [
{
"containerPort": 8080,
"hostPort": 1912,
"protocol": "tcp"
}
]
},
{
"command": [
"sh", "run_tfserver.sh"
],
"essential": true,
"workingDirectory": "/app",
"image": "966836717103.dkr.ecr.eu-west-1.amazonaws.com/stockholm-ai:dev",
"memoryReservation": 800,
"logConfiguration": {
"logDriver": "syslog",
"options": {"syslog-address": "tcp+tls://logs5.papertrailapp.com:26132",
"tag": "stockholm-ai-dev"
}
},
"name": "serve_tensorflow_sthlm_ai",
"portMappings": [
{
"containerPort": 9001,
"hostPort": 9001
}
]
}
],
"family": "stockholm-ai"
}