|
|
@@ -1,48 +0,0 @@
|
|
|
-spring:
|
|
|
- cloud:
|
|
|
- nacos:
|
|
|
- discovery:
|
|
|
- # 服务注册地址
|
|
|
- server-addr: 10.10.10.230:8848
|
|
|
- # 命名空间
|
|
|
- namespace: sckw-service-platform-dev
|
|
|
- # 共享配置
|
|
|
- group: sckw-service-platform
|
|
|
- config:
|
|
|
- # 配置中心地址
|
|
|
- server-addr: 10.10.10.230:8848
|
|
|
- # 配置文件格式
|
|
|
- file-extension: yaml
|
|
|
- # 命名空间
|
|
|
- namespace: sckw-service-platform-dev
|
|
|
- # 共享配置
|
|
|
- group: sckw-service-platform
|
|
|
-
|
|
|
-#限制上传文件大小
|
|
|
- servlet:
|
|
|
- multipart:
|
|
|
- max-file-size: 100MB
|
|
|
- max-request-size: 100MB
|
|
|
-
|
|
|
-
|
|
|
-# dubbo
|
|
|
-dubbo:
|
|
|
- application:
|
|
|
- # 此处没有延用spring.application.name是因为当前项目本身也会注册到nacos中,如果dubbo也延用相同的名称,在nacos服务里会看到注册的producer-server服务数为2
|
|
|
- name: file-dubbo-server
|
|
|
- protocol:
|
|
|
- name: dubbo
|
|
|
- port: -1
|
|
|
- registry:
|
|
|
- # 配置dubbo的注册中心为nacos
|
|
|
- address: nacos://${spring.cloud.nacos.discovery.server-addr}
|
|
|
- group: ${spring.cloud.nacos.config.group}
|
|
|
- protocol: nacos
|
|
|
- #use-as-config-center: false
|
|
|
- #use-as-metadata-center: false
|
|
|
-aliyun:
|
|
|
- oss:
|
|
|
- endpoint: oss-cn-chengdu.aliyuncs.com
|
|
|
- accessKeyId: LTAI5tPEbubCGq5Rdwygbz4Q
|
|
|
- secret: 7mQLWMaBJeZPRV1SRGogctYGXwppjQ
|
|
|
- bucket: kaiwu-saas
|