|
|
|
|
server.port=${serverPort}
|
|
|
|
|
|
|
|
|
|
api.enable=${apiEnable}
|
|
|
|
|
|
|
|
|
|
spring.mvc.pathmatch.matching-strategy= ANT_PATH_MATCHER
|
|
|
|
|
|
|
|
|
|
mybatis.mapperLocations=classpath:mappers/**/*.xml
|
|
|
|
|
|
|
|
|
|
spring.datasource.admin.name=data_center_aeon_admin
|
|
|
|
|
spring.datasource.admin.url=jdbc:mysql://${datasourceDNS}/data_center_aeon_admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=${datasourceTimeZone}
|
|
|
|
|
spring.datasource.admin.username=${datasourceUsername}
|
|
|
|
|
spring.datasource.admin.password=${datasourcePassword}
|
|
|
|
|
#使用druid数据源
|
|
|
|
|
spring.datasource.admin.type=com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
spring.datasource.admin.driverClassName=com.mysql.jdbc.Driver
|
|
|
|
|
spring.datasource.admin.hikari.driverClassName=com.mysql.jdbc.Driver
|
|
|
|
|
spring.datasource.admin.hikari.schema=data_center_aeon_admin
|
|
|
|
|
spring.datasource.admin.hikari.minimum-idle: 5
|
|
|
|
|
spring.datasource.admin.hikari.maximum-pool-size: ${rdsMaxPool:40}
|
|
|
|
|
spring.datasource.admin.hikari.connection-timeout:10000
|
|
|
|
|
|
|
|
|
|
dynamic.jdbc.url=jdbc:mysql://${datasourceDNS:rm-bp11k2zm2fr7864428o.mysql.rds.aliyuncs.com:3306}/%s?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=${datasourceTimeZone}
|
|
|
|
|
|
|
|
|
|
spring.datasource.url=jdbc:mysql://${datasourceDNS:rm-bp11k2zm2fr7864428o.mysql.rds.aliyuncs.com:3306}/data_center_aeon_admin?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=${datasourceTimeZone}
|
|
|
|
|
|
|
|
|
|
# Aurora 数据源配置
|
|
|
|
|
spring.aurora.datasource.url=${auroraUrl:jdbc:mysql://rm-bp11k2zm2fr7864428o.mysql.rds.aliyuncs.com:3306/data_center_aeon_admin}
|
|
|
|
|
spring.aurora.datasource.username=${auroraUser:zhc}
|
|
|
|
|
spring.aurora.datasource.password=${auroraPass:Youqu48bnb1}
|
|
|
|
|
spring.aurora.datasource.driver-class-name=${auroraDriver:com.mysql.cj.jdbc.Driver}
|
|
|
|
|
spring.aurora.datasource.minimum-idle=${auroraMinIdle:5}
|
|
|
|
|
spring.aurora.datasource.maximum-pool-size=${auroraMaxPool:30}
|
|
|
|
|
spring.aurora.datasource.connection-timeout=${auroraConnTimeout:30000}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#配置log日志
|
|
|
|
|
logging.config=classpath:config/logback-boot.xml
|
|
|
|
|
logging_level=${loggingLevel}
|
|
|
|
|
logging_path=${loggingPath}
|
|
|
|
|
#部署时使用SYSLOG
|
|
|
|
|
logging_appender=${loggingAppender}
|
|
|
|
|
logging_maxHistory=${loggingMaxHistory:7}
|
|
|
|
|
logging_maxFileSize=100MB
|
|
|
|
|
mybatis_log_level=${mybatisLogLevel}
|
|
|
|
|
|
|
|
|
|
user.login.keytimeout=360000
|
|
|
|
|
|
|
|
|
|
#集群模式cluster
|
|
|
|
|
spring.redis.cluster.nodes=192.168.0.30:7000,192.168.0.30:7001
|
|
|
|
|
#跨集群执行命令时要遵循的最大重定向数量
|
|
|
|
|
spring.redis.cluster.max-redirects=3
|
|
|
|
|
#哨兵模式sentinel
|
|
|
|
|
spring.redis.sentinel.master=mymaster
|
|
|
|
|
spring.redis.sentinel.nodes=192.168.0.30:16379,192.168.0.30:16379
|
|
|
|
|
|
|
|
|
|
#单机模式standalone
|
|
|
|
|
spring.redis.host=${redisHost}
|
|
|
|
|
spring.redis.port=6379
|
|
|
|
|
|
|
|
|
|
spring.redis.password=${redisPassword}
|
|
|
|
|
spring.redis.timeout=5000
|
|
|
|
|
#Redis数据库索引(默认为0)
|
|
|
|
|
spring.redis.database=0
|
|
|
|
|
#配置启动模式cluster、sentinel、standalone
|
|
|
|
|
spring.redis.mode=standalone
|
|
|
|
|
# Lettuce
|
|
|
|
|
# 连接池最大连接数(使用负值表示没有限制)
|
|
|
|
|
spring.redis.lettuce.pool.max-active=8
|
|
|
|
|
# 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
|
spring.redis.lettuce.pool.max-wait=100
|
|
|
|
|
# 连接池中的最大空闲连接
|
|
|
|
|
spring.redis.lettuce.pool.max-idle=8
|
|
|
|
|
# 连接池中的最 小空闲连接
|
|
|
|
|
spring.redis.lettuce.pool.min-idle=0
|
|
|
|
|
# 关闭超时时间
|
|
|
|
|
spring.redis.lettuce.shutdown-timeout=100
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#邮件发送信息
|
|
|
|
|
mail.smtp.host=email-smtp.ap-northeast-1.amazonaws.com
|
|
|
|
|
mail.smtp.port=465
|
|
|
|
|
mail.smtp.auth=true
|
|
|
|
|
mail.smtp.ssl=true
|
|
|
|
|
mail.sender.username=AKIAVRXFMB43Z4Q6WGZN
|
|
|
|
|
mail.sender.password_encrypted=true
|
|
|
|
|
mail.sender.password=a/52R0rao7ksRMvl1j17fVEmPCw7gC9OreHDqWOE+S7sgmoQT0YgoLRJqOlJqX7e
|
|
|
|
|
mail.sender.sendername=datacenter-info
|
|
|
|
|
mail.sender.from=alert@ttkdatatechbuild.com
|
|
|
|
|
#邮件通知服务开关
|
|
|
|
|
mail.send.switch=true
|
|
|
|
|
|
|
|
|
|
Spring.mvc.hiddenmethod.filter.enabled=true
|
|
|
|
|
#单个文件上传发大小
|
|
|
|
|
spring.servlet.multipart.max-file-size=20MB
|
|
|
|
|
#多个文件上传的共大小不得超过100M
|
|
|
|
|
spring.servlet.multipart.max-request-size=100MB
|
|
|
|
|
|
|
|
|
|
server.servlet.context-path=/api
|
|
|
|
|
|
|
|
|
|
mybatis.configuration.map-underscore-to-camel-case=true
|
|
|
|
|
|
|
|
|
|
server.servlet.session.cookie.http-only=true
|
|
|
|
|
server.servlet.session.cookie.secure=true
|
|
|
|
|
|
|
|
|
|
springdoc.swagger-ui.doc-expansion=none
|
|
|
|
|
springdoc.swagger-ui.operations-sorter=alpha
|
|
|
|
|
springdoc.swagger-ui.tags-sorter=alpha
|
|
|
|
|
|
|
|
|
|
web.login.url=${webLoginUrl}
|
|
|
|
|
web.admin.login.url=${webAdminLoginUrl}
|
|
|
|
|
|
|
|
|
|
amazon.aws.accesskey=${awsAccessKey:AKIA5OFH5OOZHM3U3KX4}
|
|
|
|
|
amazon.aws.secretkey=${awsSecretKey:Plkid7RDnHc1gGbp2yAv/Scc+ukI0q8vzBuyEBN2}
|
|
|
|
|
amazon.aws.bucket.asset=${awsBucketAsset:tokyobuild-stg-databucket-923770123186}
|
|
|
|
|
amazon.aws.actionable.region=ap-northeast-1
|
|
|
|
|
amazon.aws.actionable.bucket=${awsActionableBucket}
|
|
|
|
|
amazon.aws.actionable.directory=${awsActionableDirectory}
|
|
|
|
|
amazon.aws.actionable.roleArn=${awsActionableRoleArn}
|
|
|
|
|
|
|
|
|
|
weather.jwa.apikey=${weatherJwaApiKey}
|
|
|
|
|
weather.jwa.x-apikey=${weatherJwaXApiKey}
|
|
|
|
|
ai.api_base=${aiApiBase:https://pdf-demo-stg.ttkdatatechbuild.com/api}
|
|
|
|
|
|
|
|
|
|
oidc.issuer = ${oidcIssuer:https://dongjian.southwave.tech/api}
|
|
|
|
|
oidc.bimviewer-url = ${oidcBimviewerUrl:https://bimviewer-stg.ttkdatatechbuild.com/TTNB}
|
|
|
|
|
oidc.bimviewer-cognito-auth-host = ${oidcBimviewerCognitoAuthHost:https://bimviewer-stg.auth.ap-northeast-1.amazoncognito.com}
|