-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerrun.aws.json.multi
45 lines (45 loc) · 1.09 KB
/
Dockerrun.aws.json.multi
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
{
"AWSEBDockerrunVersion": 2,
"containerDefinitions": [
{
"name": "mysql",
"image": "mysql:5.6",
"essential": true,
"portMappings": [
{
"hostPort": 3306,
"containerPort": 3306
}
],
"environment": [
{
"name": "MYSQL_USERNAME",
"value": "root"
},
{
"name": "MYSQL_PASSWORD",
"value": "password"
},
{
"name": "MYSQL_DB_NAME",
"value": "my_db"
}
]
},
{
"name": "php-app",
"image": "mebooks/php-app",
"essential": true,
"memory": 128,
"portMappings": [
{
"hostPort": 80,
"containerPort": 80
}
],
"links": [
"mysql"
]
}
]
}