调整
This commit is contained in:
51
cs-device/cs-device-boot/target/classes/bootstrap.yml
Normal file
51
cs-device/cs-device-boot/target/classes/bootstrap.yml
Normal file
@@ -0,0 +1,51 @@
|
||||
#当前服务的基本信息
|
||||
microservice:
|
||||
ename: cs-device-boot
|
||||
name: 'cs-device-boot'
|
||||
version: 1.0.0
|
||||
sentinel:
|
||||
url: 192.168.1.13:8080
|
||||
gateway:
|
||||
url: 192.168.1.139:10215
|
||||
server:
|
||||
port: 10220
|
||||
#feign接口开启服务熔断降级处理
|
||||
feign:
|
||||
sentinel:
|
||||
enabled: true
|
||||
spring:
|
||||
application:
|
||||
name: cs-device-boot
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
ip: 192.168.1.139
|
||||
server-addr: 192.168.1.13:18848
|
||||
namespace: 415a1c87-33aa-47bd-8e25-13cc456c87ed
|
||||
config:
|
||||
server-addr: 192.168.1.13:18848
|
||||
namespace: 415a1c87-33aa-47bd-8e25-13cc456c87ed
|
||||
file-extension: yaml
|
||||
shared-configs:
|
||||
- data-id: share-config.yaml
|
||||
refresh: true
|
||||
- data-Id: algorithm-config.yaml
|
||||
refresh: true
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
|
||||
|
||||
#项目日志的配置
|
||||
logging:
|
||||
config: http://192.168.1.13:18848/nacos/v1/cs/configs?tenant=415a1c87-33aa-47bd-8e25-13cc456c87ed&group=DEFAULT_GROUP&dataId=logback.xml
|
||||
level:
|
||||
root: info
|
||||
|
||||
|
||||
#mybatis配置信息
|
||||
mybatis-plus:
|
||||
#别名扫描
|
||||
type-aliases-package: com.njcn.device.pojo
|
||||
|
||||
mqtt:
|
||||
client-id: cs-device-boot${random.value}
|
||||
Binary file not shown.
Reference in New Issue
Block a user