-
Notifications
You must be signed in to change notification settings - Fork 0
/
old_dockerrun_file.json
96 lines (96 loc) · 2.5 KB
/
old_dockerrun_file.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"AWSEBDockerrunVersion": 2,
"volumes": [
{
"name": "datasets",
"host": {
"sourcePath": "./datasets:/datasets"
}
},
{
"name": "models",
"host": {
"sourcePath": "./models:/models"
}
},
{
"name": "mongodb",
"host": {
"sourcePath": "mongodb_data:/data/db"
}
}
],
"containerDefinitions": [
{
"name": "annotator_webclient",
"image": "jsbroks/coco-annotator:webserver-stable",
"esstential": true,
"portMappings": [
{
"hostPort": 5000,
"containerPort": 5000
}
],
"links": ["database", "workers"],
"memory": 128,
"mountPoints": [
{
"sourceVolume": "datasets",
"containerPath": "etc/datasets"
},
{
"sourceVolume": "models",
"containerPath": "etc/models"
}
],
"environment": [
{
"name": "SECRET_KEY",
"value": "RandomSecretKeyHere"
},
{
"name": "FILE_WATCHER",
"value": true
}
]
},
{
"name": "workers",
"image": "jsbroks/coco-annotator:workers-stable",
"esstential": false,
"links": ["messageq", "database"],
"memory": 128,
"mountPoints": [
{
"sourceVolume": "datasets"
}
]
},
{
"name": "messageq",
"image": "rabbitmq:3",
"memory": 128,
"environment": [
{
"name": "RABBITMQ_DEFAULT_USER",
"value": "user"
},
{
"name": "RABBITMQ_DEFAULT_PASS",
"value": "password"
}
]
},
{
"name": "database",
"image": "mongo:4.0",
"memory": 128,
"mountPoints": [
{
"sourceVolume": "mongodb",
"containerPath": "var/log/mongo"
}
]
}
]
}