@@ -53,6 +53,9 @@ services:
53
53
build :
54
54
context : ./configserver
55
55
dockerfile : Dockerfile
56
+ environment :
57
+ CONFIGSERVER_URI : " http://localhost:9191"
58
+ CONFIGSERVER_PORT : " 9191"
56
59
ports :
57
60
- " 9191:9191"
58
61
networks :
@@ -68,7 +71,9 @@ services:
68
71
context : ./discoveryserver
69
72
dockerfile : Dockerfile
70
73
environment :
71
- EUREKASERVER_URI : " http://eurekaserver:8761/eureka/"
74
+ CONFIGSERVER_URI : " http://localhost:9191"
75
+ CONFIGSERVER_PORT : " 9191"
76
+ EUREKASERVER_URI : " http://localhost:8761/eureka/"
72
77
EUREKASERVER_PORT : " 8761"
73
78
depends_on :
74
79
configserver :
@@ -89,8 +94,8 @@ services:
89
94
environment :
90
95
PROFILE : " default"
91
96
SERVER_PORT : " 8600"
92
- CONFIGSERVER_URI : " http://configserver :9191"
93
- EUREKASERVER_URI : " http://eurekaserver :8761/eureka/"
97
+ CONFIGSERVER_URI : " http://localhost :9191"
98
+ EUREKASERVER_URI : " http://localhost :8761/eureka/"
94
99
EUREKASERVER_PORT : " 8761"
95
100
CONFIGSERVER_PORT : " 9191"
96
101
depends_on :
@@ -109,9 +114,10 @@ services:
109
114
context : ./user-service
110
115
dockerfile : Dockerfile
111
116
environment :
112
- CONFIGSERVER_URI : " http://configserver:9191"
117
+ SERVER_PORT : " 9000"
118
+ CONFIGSERVER_URI : " http://localhost:9191"
113
119
CONFIGSERVER_PORT : " 9191"
114
- EUREKASERVER_URI : " http://eurekaserver :8761/eureka/"
120
+ EUREKASERVER_URI : " http://localhost :8761/eureka/"
115
121
EUREKASERVER_PORT : " 8761"
116
122
SPRING_DATASOURCE_URL : " jdbc:mysql://database:3366/springbootuser?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Turkey"
117
123
SPRING_DATASOURCE_DRIVER_CLASS_NAME : " org.hibernate.dialect.MySQL8Dialect"
@@ -134,6 +140,7 @@ services:
134
140
context : ./management-service
135
141
dockerfile : Dockerfile
136
142
environment :
143
+ SERVER_PORT : " 9002"
137
144
CONFIGSERVER_URI : " http://configserver:9191"
138
145
CONFIGSERVER_PORT : " 9191"
139
146
EUREKASERVER_URI : " http://eurekaserver:8761/eureka/"
@@ -156,6 +163,7 @@ services:
156
163
context : ./advertisement-service
157
164
dockerfile : Dockerfile
158
165
environment :
166
+ SERVER_PORT : " 9001"
159
167
CONFIGSERVER_URI : " http://configserver:9191"
160
168
CONFIGSERVER_PORT : " 9191"
161
169
EUREKASERVER_URI : " http://eurekaserver:8761/eureka/"
@@ -182,6 +190,7 @@ services:
182
190
context : ./report-service
183
191
dockerfile : Dockerfile
184
192
environment :
193
+ SERVER_PORT : " 9003"
185
194
CONFIGSERVER_URI : " http://configserver:9191"
186
195
CONFIGSERVER_PORT : " 9191"
187
196
EUREKASERVER_URI : " http://eurekaserver:8761/eureka/"
0 commit comments