Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
N
nyx
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
发现
nyx
Commits
1775af20
Commit
1775af20
authored
Sep 16, 2020
by
jscat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nyx javaapp: 功能更新
1. 调整生产版本的数据库配置 application-production.yml
parent
98c08834
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
31 行增加
和
44 行删除
+31
-44
增值产品-小程序及app/nyx_app_key/api/src/main/resources/config/application-production.yml
+31
-44
没有找到文件。
增值产品-小程序及app/nyx_app_key/api/src/main/resources/config/application-production.yml
查看文件 @
1775af20
#################################################################################################################
ss
:
#################################################################################################################
# Data source
# Production database connections can also be auto-configured using a pooling DataSource.
# Here’s the algorithm for choosing a specific implementation:
# * We prefer the Tomcat pooling DataSource for its performance and concurrency,
# so if that is available we always choose it.
# * Otherwise, if HikariCP is available we will use it.
# * If neither the Tomcat pooling datasource nor HikariCP are available and if Commons DBCP is available
# we will use it, but we don’t recommend it in production and its support is deprecated.
# * Lastly, if Commons DBCP2 is available we will use it.
# If you use the spring-boot-starter-jdbc or spring-boot-starter-data-jpa ‘starters’ you will automatically
# get a dependency to tomcat-jdbc.
# * You can bypass that algorithm completely and specify the connection pool to use via
# the spring.datasource.type property. This is especially important if you are running your
# application in a Tomcat container as tomcat-jdbc is provided by default.
#################################################################################################################
ss
:
tt
:
rockwell_key,rockwell_msg,rockwell_user
spring
:
datasource
:
rockwell_key
:
url
:
jdbc:mysql://47.99.110.89:3306/rockwell_key
url
:
jdbc:mysql://47.99.110.89:3306/rockwell_key
?useUnicode=true&characterEncoding=utf-8&useSSL=false
username
:
rockwell_dev
password
:
123456
driver-class-name
:
com.mysql.jdbc.Driver
minimum-idle
:
5
maximum-pool-size
:
15
auto-commit
:
true
idle-timeout
:
30000
pool-name
:
DatebookHikariCP
max-lifetime
:
120000
connection-timeout
:
30000
connection-test-query
:
SELECT 1
hikari
:
minimum-idle
:
10
maximum-pool-size
:
60
validation-timeout
:
3000
auto-commit
:
true
idle-timeout
:
60000
max-lifetime
:
100000
connection-timeout
:
30000
connection-test-query
:
SELECT 1
rockwell_msg
:
url
:
jdbc:mysql://47.99.110.89:3306/rockwell_msg
url
:
jdbc:mysql://47.99.110.89:3306/rockwell_msg
?useUnicode=true&characterEncoding=utf-8&useSSL=false
username
:
rockwell_dev
password
:
123456
driver-class-name
:
com.mysql.jdbc.Driver
minimum-idle
:
5
maximum-pool-size
:
15
auto-commit
:
true
idle-timeout
:
30000
pool-name
:
DatebookHikariCP
max-lifetime
:
120000
connection-timeout
:
30000
connection-test-query
:
SELECT 1
hikari
:
minimum-idle
:
10
maximum-pool-size
:
60
validation-timeout
:
3000
auto-commit
:
true
idle-timeout
:
60000
max-lifetime
:
100000
connection-timeout
:
30000
connection-test-query
:
SELECT 1
rockwell_user
:
url
:
jdbc:mysql://47.99.110.89:3306/rockwell_user
url
:
jdbc:mysql://47.99.110.89:3306/rockwell_user
?useUnicode=true&characterEncoding=utf-8&useSSL=false
username
:
rockwell_dev
password
:
123456
driver-class-name
:
com.mysql.jdbc.Driver
minimum-idle
:
5
maximum-pool-size
:
15
auto-commit
:
true
idle-timeout
:
30000
pool-name
:
DatebookHikariCP
max-lifetime
:
120000
connection-timeout
:
30000
connection-test-query
:
SELECT 1
hikari
:
minimum-idle
:
10
maximum-pool-size
:
60
validation-timeout
:
3000
auto-commit
:
true
idle-timeout
:
60000
max-lifetime
:
100000
connection-timeout
:
30000
connection-test-query
:
SELECT 1
aliyun
:
oss
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论