-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yaml
156 lines (149 loc) · 4.01 KB
/
docker-compose.dev.yaml
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
services:
app_make_dev:
&dev_service
image: app_make_dev
build:
context: .
dockerfile: apps/front/Dockerfile
target: app-dev
ports:
- 3000:3000
- 8888:8888
volumes:
&default_volumes
- .:/home/app
- /home/app/node_modules
- /home/app/apps/front/node_modules
- /home/app/apps/widget/node_modules
- /home/app/package/api/node_modules
- /home/app/package/components/node_modules
- /home/app/package/types/node_modules
- /home/app/package/assets/node_modules
- /home/app/package/utils/node_modules
- /home/app/package/ui/node_modules
- /home/app/package/store/node_modules
- /home/app/package/logger/node_modules
- /home/app/package/designsystem/node_modules
- /home/app/apimock/node_modules
- /home/app/apps/front/dist
- /home/app/apps/widget/dist
- /home/app/dist
profiles:
- app-dev
app_make_dev_mock:
<<: *dev_service
image: app_make_dev_mock
build:
context: .
dockerfile: apps/front/Dockerfile
target: app-dev-mock
ports:
- 3000:3000
- 8888:8888
volumes: *default_volumes
profiles:
- app-dev-mock
app_make_ssr:
&ssr_service
image: app_make_ssr
build:
context: .
dockerfile: apps/front/Dockerfile
target: app-ssr
ports:
- 3000:3000
- 8888:8888
volumes: *default_volumes
profiles:
- app-ssr
api_consultation_mock:
image: api_consultation_mock
build:
context: .
dockerfile: apimock/Dockerfile
target: api-consultation-mock
ports:
- 9000:9000
volumes: *default_volumes
profiles:
- front-test
- widget-test
- app-dev-mock
app_make_test:
<<: *ssr_service
image: app_make_test
ports:
- 9009:3000
volumes:
- .:/home/app
- /home/app/node_modules
- /home/app/apps/front/node_modules
- /home/app/apps/widget/node_modules
- /home/app/package/api/node_modules
- /home/app/package/components/node_modules
- /home/app/package/types/node_modules
- /home/app/package/assets/node_modules
- /home/app/package/utils/node_modules
- /home/app/package/ui/node_modules
- /home/app/package/store/node_modules
- /home/app/package/designsystem/node_modules
- /home/app/package/logger/node_modules
- /home/app/apimock/node_modules
- /home/app/apps/front/dist
- /home/app/apps/widget/dist
- /home/app/dist
- ./apps/front/.env.cypress:/home/app/apps/front/.env.local
profiles:
- front-test
widget_make_dev:
image: widget_make_dev
build:
context: .
dockerfile: apps/widget/Dockerfile
target: widget-dev
ports:
- 3000:3000
- 8888:8888
volumes: *default_volumes
profiles:
- widget-dev
widget_make_ssr:
&ssr_widget_service
image: widget_make_ssr
build:
context: .
dockerfile: apps/widget/Dockerfile
target: widget-ssr
ports:
- 3000:3000
- 8888:8888
volumes: *default_volumes
profiles:
- widget-ssr
widget_make_test:
<<: *ssr_widget_service
image: widget_make_test
ports:
- 9008:3000
- 8888:8888
volumes:
- .:/home/app
- /home/app/node_modules
- /home/app/apps/front/node_modules
- /home/app/apps/widget/node_modules
- /home/app/package/api/node_modules
- /home/app/package/components/node_modules
- /home/app/package/types/node_modules
- /home/app/package/assets/node_modules
- /home/app/package/utils/node_modules
- /home/app/package/ui/node_modules
- /home/app/package/store/node_modules
- /home/app/package/designsystem/node_modules
- /home/app/package/logger/node_modules
- /home/app/apimock/node_modules
- /home/app/apps/front/dist
- /home/app/apps/widget/dist
- /home/app/dist
- ./apps/widget/.env.cypress:/home/app/apps/widget/.env.local
profiles:
- widget-test