This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
/
Dockerrun.aws.json
126 lines (126 loc) · 2.69 KB
/
Dockerrun.aws.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"AWSEBDockerrunVersion": 2,
"volumes": [
{
"name": "mentor-api-checkpoint",
"host": {
"sourcePath": "/var/app/current/mentor-api/checkpoint"
}
},
{
"name": "mentor-api-mentors",
"host": {
"sourcePath": "/var/app/current/mentor-api/mentors"
}
},
{
"name": "nginx-conf",
"host": {
"sourcePath": "/var/app/current/nginx/conf.d"
}
}
],
"containerDefinitions": [
{
"name": "web-app",
"image": "uscictdocker/mentor-client:1.2.4",
"portMappings": [
{
"hostPort": 3000,
"containerPort": 3000
}
],
"environment": [
{
"name": "MENTOR_VIDEO_URL",
"value": "https://video.mentorpal.org/videos"
}
],
"essential": true,
"memory": 1024,
"links": ["mentor-api"],
"mountPoints": [
{
"sourceVolume": "awseb-logs-web-app",
"containerPath": "/var/log/node"
}
]
},
{
"name": "mentor-api",
"image": "uscictdocker/mentor-api:1.0.0",
"essential": true,
"memory": 6144,
"portMappings": [
{
"hostPort": 5000,
"containerPort": 5000
}
],
"mountPoints": [
{
"sourceVolume": "mentor-api-checkpoint",
"containerPath": "/app/checkpoint",
"readOnly": true
},
{
"sourceVolume": "mentor-api-mentors",
"containerPath": "/app/mentors",
"readOnly": true
},
{
"sourceVolume": "awseb-logs-mentor-api",
"containerPath": "/var/log/flask"
}
]
},
{
"name": "lrs",
"image": "uscictdocker/xapi-lrs-proxy:1.1.0",
"essential": true,
"memory": 1024,
"portMappings": [
{
"hostPort": 3001,
"containerPort": 3001
}
],
"environment": [
{
"name": "PORT",
"value": 3001
}
],
"mountPoints": [
{
"sourceVolume": "awseb-logs-lrs",
"containerPath": "/var/log/node"
}
]
},
{
"name": "nginx",
"image": "nginx:1.15.6",
"essential": true,
"memory": 128,
"portMappings": [
{
"hostPort": 80,
"containerPort": 80
}
],
"links": ["web-app", "mentor-api", "lrs"],
"mountPoints": [
{
"sourceVolume": "nginx-conf",
"containerPath": "/etc/nginx/conf.d",
"readOnly": true
},
{
"sourceVolume": "awseb-logs-nginx",
"containerPath": "/var/log/nginx"
}
]
}
]
}