parent
6d240ef243
commit
e1bfbbb645
@ -0,0 +1,7 @@ |
||||
server.port=2121 |
||||
spring.application.name=easyopen-service |
||||
|
||||
# nacos注册中心 |
||||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 |
||||
|
||||
easyopen.prefix-path=/api |
@ -1,23 +0,0 @@ |
||||
server: |
||||
port: 2121 |
||||
|
||||
# 指定注册中心 |
||||
eureka: |
||||
port: 1111 |
||||
host: localhost |
||||
client: |
||||
serviceUrl: |
||||
defaultZone: http://${eureka.host}:${eureka.port}/eureka/ |
||||
|
||||
spring: |
||||
application: |
||||
# 指定服务名 |
||||
name: easyopen-service |
||||
|
||||
cloud: |
||||
zookeeper: |
||||
connect-string: localhost:2181 |
||||
|
||||
# 指定接口路径 |
||||
easyopen: |
||||
prefix-path: /api |
@ -0,0 +1 @@ |
||||
spring.profiles.active=dev |
@ -1,3 +0,0 @@ |
||||
spring: |
||||
profiles: |
||||
active: dev |
Loading…
Reference in new issue