Skip to content

Commit 4bf7345

Browse files
committed
Config server modify yml files for docker hub.
1 parent 380d502 commit 4bf7345

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api-gateway/src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ eureka:
5959
register-with-eureka: true
6060
fetch-registry: true
6161
service-url:
62-
defaultZone: http://localhost:8761/eureka/
63-
#defaultZone: http://service-registry:8761/eureka/
62+
# defaultZone: http://localhost:8761/eureka/
63+
defaultZone: http://service-registry:8761/eureka/
6464
instance:
6565
hostname: service-registry
6666

api-gateway/src/main/resources/bootstrap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ spring:
22
cloud:
33
config:
44
enabled: true
5-
uri: http://localhost:9296
5+
uri: http://config-server:9296

0 commit comments

Comments
 (0)