-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathDockerrun.aws.json
62 lines (62 loc) · 1.06 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
{
"AWSEBDockerrunVersion": 2,
"containerDefinitions": [{
"environment": [{
"name": "POSTGRES_USER",
"value": "hello_flask"
},
{
"name": "POSTGRES_PASSWORD",
"value": "hello_flask"
},
{
"name": "POSTGRES_DB",
"value": "hello_flask_dev"
}
],
"essential": true,
"image": "postgres:12-alpine",
"memory": 100,
"mountPoints": [{
"containerPath": "/var/lib/postgresql/data/",
"sourceVolume": "postgres_data"
}],
"name": "db",
"portMappings": [{
"containerPort": 5432,
"hostPort": 5432
}]
},
{
"essential": true,
"image": "redis:6.0.8",
"memory": 100,
"name": "redis",
"portMappings": [{
"containerPort": 6379,
"hostPort": 6379
}]
},
{
"essential": true,
"links": [
"redis",
"db"
],
"name": "web",
"image": "vagdevik/user-wishlist-app",
"memory": 100,
"portMappings": [{
"containerPort": 80,
"hostPort": 80
}]
}
],
"volumes": [{
"host": {
"sourcePath": "postgres_data"
},
"name": "postgres_data"
}
]
}