Files
govern/cs-device/cs-device-boot/target/classes/bootstrap.yml
2023-05-24 20:17:45 +08:00

51 lines
1.2 KiB
YAML

#当前服务的基本信息
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}