-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerrun.aws.json
102 lines (102 loc) · 2.12 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
{
"AWSEBDockerrunVersion": 2,
"containerDefinitions": [
{
"environment": [
{
"name": "MEDIAWIKI_HAS_ALREADY_DATABASE",
"value": "true"
}
],
"essential": true,
"image": "827392432764.dkr.ecr.ap-northeast-2.amazonaws.com/hy-wiki/mediawiki:latest",
"mountPoints": [
{
"containerPath": "/ct",
"sourceVolume": "_Config"
},
{
"containerPath": "/usr/src",
"sourceVolume": "Files"
}
],
"name": "mediawiki",
"hostname": "mediawiki",
"memory": 256
},
{
"essential": true,
"image": "nginx:latest",
"links": ["mediawiki"],
"mountPoints": [
{
"containerPath": "/etc/nginx/conf.d/default.conf",
"sourceVolume": "_HttpDefault_Conf"
},
{
"containerPath": "/etc/nginx/nginx.conf",
"sourceVolume": "_HttpNginx_Conf"
},
{
"containerPath": "/usr/src",
"sourceVolume": "Files"
}
],
"name": "http",
"hostname": "http",
"memory": 256,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80
}
]
},
{
"environment": [
{
"name": "PARSOID_DOMAIN_mediawiki",
"value": "http://http/api.php"
}
],
"links": ["http"],
"essential": true,
"image": "thenets/parsoid:0.10.0",
"name": "parsoid",
"hostname": "parsoid",
"memory": 128,
"portMappings": [
{
"containerPort": 8000,
"hostPort": 8081
}
]
}
],
"volumes": [
{
"host": {
"sourcePath": "/var/app/current/http/default.conf"
},
"name": "_HttpDefault_Conf"
},
{
"host": {
"sourcePath": "/var/app/current/http/nginx.conf"
},
"name": "_HttpNginx_Conf"
},
{
"host": {
"sourcePath": "files"
},
"name": "Files"
},
{
"host": {
"sourcePath": "/var/app/current/config"
},
"name": "_Config"
}
]
}