update profile

This commit is contained in:
sxu 2024-11-21 16:55:21 +08:00
parent 12a8542db2
commit 47106f7d84
3 changed files with 96 additions and 47 deletions

View File

@ -0,0 +1,47 @@
# Tomcat
server:
port: 37300
# Spring
spring:
cloud:
nacos:
username: nacos
password: Bonus@admin123!
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
namespace: zlpt_cloud_dev
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
namespace: zlpt_cloud_dev
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 腾讯云cos
tencent:
cos:
file:
# 存储桶所在地域
region: ap-nanjing
# 存储桶所在地域
bucketregion: ap-nanjing
# 存储桶名称
bucketname: zlpt-1259760603
# API账号
secretid: AKIDjJfoiPs9C2e1A5sSoSu77tTq212rTs56
# API密钥
secretkey: rVzLXWM0QceU9bqunTyHNFuMdiaFk4B6
file:
path: 1
prefix: 2
domain: 3
fdfs:
domain: 3

View File

@ -0,0 +1,47 @@
# Tomcat
server:
port: 37300
# Spring
spring:
cloud:
nacos:
username: nacos
password: Bonus@admin123!
discovery:
# 服务注册地址
server-addr: 192.168.0.14:8848
namespace: zlpt_cloud_dev
config:
# 配置中心地址
server-addr: 192.168.0.14:8848
namespace: zlpt_cloud_dev
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 腾讯云cos
tencent:
cos:
file:
# 存储桶所在地域
region: ap-nanjing
# 存储桶所在地域
bucketregion: ap-nanjing
# 存储桶名称
bucketname: zlpt-1259760603
# API账号
secretid: AKIDjJfoiPs9C2e1A5sSoSu77tTq212rTs56
# API密钥
secretkey: rVzLXWM0QceU9bqunTyHNFuMdiaFk4B6
file:
path: 1
prefix: 2
domain: 3
fdfs:
domain: 3

View File

@ -1,53 +1,8 @@
# Tomcat
server:
port: 9300
# 腾讯云cos
tencent:
cos:
file:
# 存储桶所在地域
region: ap-nanjing
# 存储桶所在地域
bucketregion: ap-nanjing
# 存储桶名称
bucketname: zlpt-1259760603
# API账号
secretid: AKIDjJfoiPs9C2e1A5sSoSu77tTq212rTs56
# API密钥
secretkey: rVzLXWM0QceU9bqunTyHNFuMdiaFk4B6
file:
path: 1
prefix: 2
domain: 3
fdfs:
domain: 3
# Spring # Spring
spring: spring:
application: application:
# 应用名称 # 应用名称
name: zlpt-file name: zlpt-file
profiles: profiles:
# 环境配置 # 环境配置
active: zlpt_cloud_dev active: zlpt_local
cloud:
nacos:
username: nacos
password: Bonus@admin123!
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
namespace: zlpt_cloud_dev
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
namespace: zlpt_cloud_dev
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}