Skip to content

Commit 0bf2864

Browse files
committed
add consul
1 parent d5eef30 commit 0bf2864

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

config-repo/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ spring:
1515
consul:
1616
discovery:
1717
prefer-ip-address: true
18+
instance-id: ${spring.application.name}:comma,separated,profiles:${server.port}:${random.value}
1819
host: registry
1920
port: 8500
2021
rabbitmq:

config/src/main/resources/application.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ spring:
66
consul:
77
discovery:
88
prefer-ip-address: true
9-
instance-id: ${spring.application.name}:comma,separated,profiles:${server.port}:${random.value}
109
host: registry
1110
port: 8500
1211
config:

0 commit comments

Comments
 (0)