Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cloud-configuration
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.eco.report
pica-cloud-configuration
提交
2d74ab72
提交
2d74ab72
编写于
10月 23, 2020
作者:
Peijun.zhao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
init
上级
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
110 行增加
和
0 行删除
+110
-0
application-prod.properties
application-prod.properties
+110
-0
未找到文件。
application-prod.properties
0 → 100644
浏览文件 @
2d74ab72
#######################################################################################
### pica-cloud-service-starter 配置 (禁止修改key名称) ###
#######################################################################################
environment.name
=
com.pica.cloud.eco
# datasource settings
spring.datasource.driverClassName
=
com.mysql.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://rm-uf69v5c7spi07dd8go.mysql.rds.aliyuncs.com:3306/pica?useUnicode=true&characterEncoding=utf8&useSSL=false
spring.datasource.username
=
prod
spring.datasource.password
=
Eekihw4VL5hgdxAN
spring.datasource.max-idle
=
10
spring.datasource.max-active
=
15
spring.datasource.max-lifetime
=
86430000
spring.datasource.log-abandoned
=
true
spring.datasource.remove-abandoned
=
true
spring.datasource.remove-abandoned-timeout
=
60
spring.datasource.initialize
=
false
spring.datasource.sqlScriptEncoding
=
UTF-8
spring.datasource.hikari.pool-name
=
springHikariCP
spring.datasource.hikari.connection-test-query
=
SELECT 1
# hikari settings
spring.hikari.maximum-pool-size
=
10
spring.hikari.cachePrepStmts
=
true
spring.hikari.prepStmtCacheSize
=
250
spring.hikari.prepStmtCacheSqlLimit
=
2048
spring.hikari.useServerPrepStmts
=
true
spring.hikari.useLocalSessionState
=
true
spring.hikari.useLocalTransactionState
=
true
spring.hikari.rewriteBatchedStatements
=
true
spring.hikari.cacheResultSetMetadata
=
true
spring.hikari.cacheServerConfiguration
=
true
spring.hikari.elideSetAutoCommits
=
true
spring.hikari.maintainTimeStats
=
false
# redis settings
spring.redis.config
=
\
{
\
"poolConfig":
\
{
\
"blockWhenExhausted":true,
\
"fairness":false,
\
"jmxEnabled":true,
\
"jmxNamePrefix":"pool",
\
"lifo":true,"maxIdle":256,
\
"maxTotal":5000,
\
"maxWaitMillis":5000,
\
"minEvictableIdleTimeMillis":60000,
\
"minIdle":0,
\
"numTestsPerEvictionRun":-1,
\
"softMinEvictableIdleTimeMillis":1800000,
\
"testOnBorrow":true,
\
"testOnCreate":false,
\
"testOnReturn":true,
\
"testWhileIdle":true,
\
"timeBetweenEvictionRunsMillis":3000
\
},
\
"nodes":["172.19.137.35:17000","172.19.137.36:17000","172.19.137.37:17000"],
\
"password":"Uu49Kz1olY85HQBu",
\
"prefix":""
\
}
#tomcat settings
server.tomcat.max-connections
=
2000
server.tomcat.max-threads
=
800
server.tomcat.accept-count
=
1000
#elasticsearch settings
spring.es.port
=
9300
spring.es.ip
=
172.19.136.251
spring.es.cluster.name
=
pica-es-cluster
#mybatis settings
mybatis.mapper-locations
=
classpath:mybatis/*.xml
#logback settings
logging.path
=
/opt/tomcat-log/${spring.application.name}
#######################################################################################
### 应用配置 ###
### ###
### 1. key 规则:[app开头].[组名称(去掉pica.cloud)].[应用名].[key描述(单词用"."分割)] ###
### 例子:app.founction.token.user.expire ###
### 2. 当某个Key不使用时,立即删除 ###
### 3. key命名全部小写,单词间仅允许使用点(.),中划线(-)分割 ###
#######################################################################################
app.foundation.token.user.expire
=
2592000
app.foundation.token.guest.expire
=
21600
md5.randomKey
=
pica
app_push_version
=
2.7.0
push_is_production
=
false
default_doctor_picture_url
=
default_doctor_picture_url
base.url
=
urls.cn
redis.urls.key
=
urls
type-aliases-package
:
com.pica.cloud
#oss
pica.foundation.oss.config
=
{"accessKeyId":"LTAI1P48GGvkKtMp","bucketName":"pica-pro","accessKeySecret":"zpdUiy3nsi7ikuQUz3eaHVfol9QKrn","endpoint":"oss-cn-shanghai.aliyuncs.com"}
#
file_url
=
https://file.yunqueyi.com
qiniu_file_url
=
https://files.yunqueyi.com
middle_service_url
=
https://api.yunqueyi.com/middle
pica.cloud.message.url
=
https://sc.yunqueyi.com/message
\ No newline at end of file
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录