mirror of https://gitee.com/maxjhandsome/pig
✨ Introducing new features. #I2NUUE spring boot admin nacos监控失败, 显示主机名而不是IP
This commit is contained in:
parent
483966c609
commit
7eb590eaa9
|
@ -31,6 +31,8 @@ spring:
|
||||||
url: http://pig-monitor:5001
|
url: http://pig-monitor:5001
|
||||||
username: pig
|
username: pig
|
||||||
password: pig
|
password: pig
|
||||||
|
instance:
|
||||||
|
prefer-ip: true
|
||||||
application:
|
application:
|
||||||
name: @project.artifactId@
|
name: @project.artifactId@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue