-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
97 lines (81 loc) · 1.89 KB
/
docker-compose.yml
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
version: "3.3"
services:
front-app:
build: ./front-app
command: nodemon -L --inspect=0.0.0.0:5858 --watch src --watch server.js server.js
volumes:
- type: bind
source: ./front-app/server.js
target: /server.js
ports:
- "1812:1812"
- "5858:5858"
front-mobile:
build: ./front-mobile
command: nodemon -L --inspect=0.0.0.0:5859 --watch src --watch server.js server.js
volumes:
- type: bind
source: ./front-mobile/server.js
target: /server.js
- type: volume
source: distMobile
target: /distMobile
- type: volume
source: distFront
target: /distFront
ports:
- "1813:1813"
- "5859:5859"
mobile-build:
build: ./mobile-dev
command: webpack --watch
volumes:
- type: bind
source: ./mobile-dev/src
target: /src
- type: volume
source: distMobile
target: /dist
front-build:
build: ./front-dev
command: webpack --watch
volumes:
- type: bind
source: ./front-dev/src
target: /src
- type: bind
source: ./front-dev/assets
target: /assets
- type: volume
source: distFront
target: /dist
demo-build:
build: ./demo-build
command: webpack --watch
volumes:
- type: bind
source: ./demo-build/src
target: /src
- type: volume
source: demoFront
target: /dist
demo:
build: ./demo
command: nodemon -L --inspect=0.0.0.0:5860 --watch src --watch server.js server.js
volumes:
- type: bind
source: ./demo
target: /app
- type: bind
source: ./front-app/server.js
target: /server.js
- type: volume
source: demoFront
target: /dist
ports:
- "1814:1814"
- "5860:5860"
volumes:
distFront:
demoFront:
distMobile: