file 配置文件
This commit is contained in:
parent
1d6a06b234
commit
5d45f87488
|
|
@ -0,0 +1,46 @@
|
||||||
|
# 腾讯云cos
|
||||||
|
tencent:
|
||||||
|
cos:
|
||||||
|
file:
|
||||||
|
# 存储桶所在地域
|
||||||
|
region: ap-guangzhou
|
||||||
|
# 存储桶所在地域
|
||||||
|
bucketregion: ap-guangzhou
|
||||||
|
# 存储桶名称
|
||||||
|
bucketname: prod-rental-1301524038
|
||||||
|
# API账号
|
||||||
|
secretid: AKIDrreCVaRKDtMcgfU5QW9iEfv67tMfldJn
|
||||||
|
# API密钥
|
||||||
|
secretkey: OXUgeMo0yhBRTGo6sVu3yiFX4rQtAzc3
|
||||||
|
file:
|
||||||
|
path: 1
|
||||||
|
prefix: 2
|
||||||
|
domain: 3
|
||||||
|
|
||||||
|
fdfs:
|
||||||
|
domain: 3
|
||||||
|
|
||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 192.168.0.14:8848
|
||||||
|
namespace: sgzb_cloud_dev_nxjj
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 192.168.0.14:8848
|
||||||
|
namespace: sgzb_cloud_dev_nxjj
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
# 腾讯云cos
|
||||||
|
tencent:
|
||||||
|
cos:
|
||||||
|
file:
|
||||||
|
# 存储桶所在地域
|
||||||
|
region: ap-guangzhou
|
||||||
|
# 存储桶所在地域
|
||||||
|
bucketregion: ap-guangzhou
|
||||||
|
# 存储桶名称
|
||||||
|
bucketname: prod-rental-1301524038
|
||||||
|
# API账号
|
||||||
|
secretid: AKIDrreCVaRKDtMcgfU5QW9iEfv67tMfldJn
|
||||||
|
# API密钥
|
||||||
|
secretkey: OXUgeMo0yhBRTGo6sVu3yiFX4rQtAzc3
|
||||||
|
file:
|
||||||
|
path: 1
|
||||||
|
prefix: 2
|
||||||
|
domain: 3
|
||||||
|
|
||||||
|
fdfs:
|
||||||
|
domain: 3
|
||||||
|
|
||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 127.0.0.1:8848
|
||||||
|
namespace: sgzb_cloud_dev_nxjj
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 127.0.0.1:8848
|
||||||
|
namespace: sgzb_cloud_dev_nxjj
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
|
@ -2,28 +2,6 @@
|
||||||
server:
|
server:
|
||||||
port: 9300
|
port: 9300
|
||||||
|
|
||||||
# 腾讯云cos
|
|
||||||
tencent:
|
|
||||||
cos:
|
|
||||||
file:
|
|
||||||
# 存储桶所在地域
|
|
||||||
region: ap-guangzhou
|
|
||||||
# 存储桶所在地域
|
|
||||||
bucketregion: ap-guangzhou
|
|
||||||
# 存储桶名称
|
|
||||||
bucketname: prod-rental-1301524038
|
|
||||||
# API账号
|
|
||||||
secretid: AKIDrreCVaRKDtMcgfU5QW9iEfv67tMfldJn
|
|
||||||
# API密钥
|
|
||||||
secretkey: OXUgeMo0yhBRTGo6sVu3yiFX4rQtAzc3
|
|
||||||
file:
|
|
||||||
path: 1
|
|
||||||
prefix: 2
|
|
||||||
domain: 3
|
|
||||||
|
|
||||||
fdfs:
|
|
||||||
domain: 3
|
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
|
|
@ -31,19 +9,4 @@ spring:
|
||||||
name: sgzb-file
|
name: sgzb-file
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: sgzb_cloud_dev
|
active: sgzb_cloud_local
|
||||||
cloud:
|
|
||||||
nacos:
|
|
||||||
discovery:
|
|
||||||
# 服务注册地址
|
|
||||||
server-addr: 192.168.0.14:8848
|
|
||||||
namespace: sgzb_cloud_dev
|
|
||||||
config:
|
|
||||||
# 配置中心地址
|
|
||||||
server-addr: 192.168.0.14:8848
|
|
||||||
namespace: sgzb_cloud_dev
|
|
||||||
# 配置文件格式
|
|
||||||
file-extension: yml
|
|
||||||
# 共享配置
|
|
||||||
shared-configs:
|
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue