Commit b7c3492f by zhangxingmin

push

parent b514d3c5
...@@ -66,6 +66,10 @@ spring: ...@@ -66,6 +66,10 @@ spring:
--- ---
spring: spring:
profiles: prod profiles: prod
application:
name: yd-gateway
server:
port: 9002
main: main:
allow-bean-definition-overriding: true allow-bean-definition-overriding: true
allow-circular-references: true allow-circular-references: true
...@@ -96,3 +100,6 @@ spring: ...@@ -96,3 +100,6 @@ spring:
# nacos的ip地址和端口 # nacos的ip地址和端口
server-addr: ${spring.cloud.nacos.config.server-addr} server-addr: ${spring.cloud.nacos.config.server-addr}
group: YD_GROUP group: YD_GROUP
ip: yd-gateway
instance-id: ${spring.application.name}:${server.port}
register-enabled: true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment