|
@@ -0,0 +1,113 @@
|
|
1
|
+version: '3.4'
|
|
2
|
+
|
|
3
|
+services:
|
|
4
|
+
|
|
5
|
+ microservices-db:
|
|
6
|
+ image: mysql:8.0
|
|
7
|
+ container_name: microservices-db
|
|
8
|
+ restart: always
|
|
9
|
+ ports:
|
|
10
|
+ - "3306:3306"
|
|
11
|
+ networks:
|
|
12
|
+ - microservices-network
|
|
13
|
+ environment:
|
|
14
|
+ MYSQL_ROOT_PASSWORD: pwd
|
|
15
|
+
|
|
16
|
+ microservices-config-service:
|
|
17
|
+ image: microservices-config-service:latest
|
|
18
|
+ container_name: microservices-config-service
|
|
19
|
+ ports:
|
|
20
|
+ - "8280:8280"
|
|
21
|
+ networks:
|
|
22
|
+ - microservices-network
|
|
23
|
+ build:
|
|
24
|
+ context: ../backend-frontend-app/spring-project-back/microservices-config-service
|
|
25
|
+ dockerfile: Dockerfile
|
|
26
|
+
|
|
27
|
+ microservices-registration-service:
|
|
28
|
+ image: microservices-registration-service:latest
|
|
29
|
+ container_name: microservices-registration-service
|
|
30
|
+ build:
|
|
31
|
+ context: ../backend-frontend-app/spring-project-back/microservices-registration-service
|
|
32
|
+ dockerfile: Dockerfile
|
|
33
|
+ ports:
|
|
34
|
+ - "8761:8761"
|
|
35
|
+ networks:
|
|
36
|
+ - microservices-network
|
|
37
|
+ depends_on:
|
|
38
|
+ - microservices-config-service
|
|
39
|
+ links:
|
|
40
|
+ - microservices-config-service
|
|
41
|
+
|
|
42
|
+ backend-frontend-gateway-service:
|
|
43
|
+ image: backend-frontend-gateway-service:latest
|
|
44
|
+ container_name: backend-frontend-gateway-service
|
|
45
|
+ ports:
|
|
46
|
+ - "8281:8281"
|
|
47
|
+ build:
|
|
48
|
+ context: ../backend-frontend-app/spring-project-back/backend-frontend-gateway-service
|
|
49
|
+ dockerfile: Dockerfile
|
|
50
|
+ depends_on:
|
|
51
|
+ - microservices-config-service
|
|
52
|
+ - microservices-registration-service
|
|
53
|
+ networks:
|
|
54
|
+ - microservices-network
|
|
55
|
+
|
|
56
|
+ clean-archi-business-service-address:
|
|
57
|
+ image: clean-archi-business-service-address:latest
|
|
58
|
+ container_name: clean-archi-business-service-address
|
|
59
|
+ build:
|
|
60
|
+ context: ..//backend-frontend-app/spring-project-back/clean-archi-business-service-address
|
|
61
|
+ dockerfile: Dockerfile
|
|
62
|
+ ports:
|
|
63
|
+ - "8282:8282"
|
|
64
|
+ depends_on:
|
|
65
|
+ - microservices-config-service
|
|
66
|
+ - microservices-registration-service
|
|
67
|
+ networks:
|
|
68
|
+ - microservices-network
|
|
69
|
+
|
|
70
|
+ clean-archi-business-service-company:
|
|
71
|
+ image: clean-archi-business-service-company:latest
|
|
72
|
+ container_name: clean-archi-business-service-company
|
|
73
|
+ build:
|
|
74
|
+ context: ../backend-frontend-app/spring-project-back/clean-archi-business-service-company
|
|
75
|
+ dockerfile: Dockerfile
|
|
76
|
+ ports:
|
|
77
|
+ - "8284:8284"
|
|
78
|
+ depends_on:
|
|
79
|
+ - microservices-config-service
|
|
80
|
+ - microservices-registration-service
|
|
81
|
+ networks:
|
|
82
|
+ - microservices-network
|
|
83
|
+
|
|
84
|
+ clean-archi-business-service-employee:
|
|
85
|
+ image: clean-archi-business-service-employee:latest
|
|
86
|
+ container_name: clean-archi-business-service-employee
|
|
87
|
+ build:
|
|
88
|
+ context: ../backend-frontend-app/spring-project-back/clean-archi-business-service-employee
|
|
89
|
+ dockerfile: Dockerfile
|
|
90
|
+ ports:
|
|
91
|
+ - "8283:8283"
|
|
92
|
+ depends_on:
|
|
93
|
+ - microservices-config-service
|
|
94
|
+ - microservices-registration-service
|
|
95
|
+ networks:
|
|
96
|
+ - microservices-network
|
|
97
|
+
|
|
98
|
+ clean-archi-business-service-project:
|
|
99
|
+ image: clean-archi-business-service-project:latest
|
|
100
|
+ container_name: clean-archi-business-service-project
|
|
101
|
+ build:
|
|
102
|
+ context: ../backend-frontend-app/spring-project-back/clean-archi-business-service-project
|
|
103
|
+ dockerfile: Dockerfile
|
|
104
|
+ ports:
|
|
105
|
+ - "8285:8285"
|
|
106
|
+ depends_on:
|
|
107
|
+ - microservices-config-service
|
|
108
|
+ - microservices-registration-service
|
|
109
|
+ networks:
|
|
110
|
+ - microservices-network
|
|
111
|
+
|
|
112
|
+networks:
|
|
113
|
+ microservices-network:
|