-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerrrun.json
90 lines (90 loc) · 2.35 KB
/
Dockerrrun.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
{
"containerDefinitions": [{
"essential": true,
"image": "goorsky/drink-up-backend:v1.0.0",
"memory": 4,
"mountPoints": [{
"containerPath": "/backend",
"sourceVolume": "_Backend"
}],
"name": "backend",
"portMappings": [{
"containerPort": 9000,
"hostPort": 9000
}]
},
{
"environment": [{
"name": "POSTGRES_PASSWORD",
"value": "psswrd"
}],
"essential": true,
"image": "goorsky/drink-up-db:v1.0.0",
"memory": 4,
"mountPoints": [{
"containerPath": "/var/lib/postgresql/data",
"sourceVolume": "Db-Data"
}],
"name": "db",
"portMappings": [{
"containerPort": 5432,
"hostPort": 5432
}]
},
{
"essential": true,
"image": "goorsky/drink-up-frontend:v1.0.0",
"memory": 4,
"mountPoints": [{
"containerPath": "/app/node_modules",
"sourceVolume": "Node_Modules"
},
{
"containerPath": "/app",
"sourceVolume": "_Frontend"
}
],
"name": "frontend",
"portMappings": [{
"containerPort": 80,
"hostPort": 3000
}]
},
{
"essential": true,
"image": "goorsky/drink-up-nginx:v1.0.0",
"memory": 4,
"name": "nginx",
"portMappings": [{
"containerPort": 80,
"hostPort": 80
}]
}
],
"family": "",
"volumes": [{
"host": {
"sourcePath": "node_modules"
},
"name": "Node_Modules"
},
{
"host": {
"sourcePath": "./frontend"
},
"name": "_Frontend"
},
{
"host": {
"sourcePath": "./backend"
},
"name": "_Backend"
},
{
"host": {
"sourcePath": "db-data"
},
"name": "Db-Data"
}
]
}