Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
push-message
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liucheng
push-message
Commits
8ec5c251
Commit
8ec5c251
authored
Jan 24, 2022
by
weface
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
环境配置
parent
eb1e12b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
application-prod.yml
src/main/resources/application-prod.yml
+3
-3
application.yml
src/main/resources/application.yml
+6
-5
No files found.
src/main/resources/application-prod.yml
View file @
8ec5c251
...
@@ -3,9 +3,9 @@ spring:
...
@@ -3,9 +3,9 @@ spring:
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
druid
:
druid
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://
localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://
rm-uf6w14h3ark4z3pwxlo.mysql.rds.aliyuncs.com/kk_demain_db?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
username
:
renren
username
:
kk_demain_user
password
:
123456
password
:
KkWeface0228
initial-size
:
10
initial-size
:
10
max-active
:
100
max-active
:
100
min-idle
:
10
min-idle
:
10
...
...
src/main/resources/application.yml
View file @
8ec5c251
...
@@ -6,15 +6,16 @@ server:
...
@@ -6,15 +6,16 @@ server:
uri-encoding
:
UTF-8
uri-encoding
:
UTF-8
max-threads
:
1000
max-threads
:
1000
min-spare-threads
:
30
min-spare-threads
:
30
connection-timeout
:
5000ms
port
:
8080
port
:
8080
connection-timeout
:
5000ms
spring
:
spring
:
application
:
application
:
name
:
service-web
name
:
service-web
# 环境 dev|test|prod
# 环境 dev|test|prod
profiles
:
profiles
:
active
:
dev
active
:
prod
# jackson时间格式化
# jackson时间格式化
jackson
:
jackson
:
time-zone
:
GMT+8
time-zone
:
GMT+8
...
@@ -27,7 +28,7 @@ spring:
...
@@ -27,7 +28,7 @@ spring:
mvc
:
mvc
:
throw-exception-if-no-handler-found
:
true
throw-exception-if-no-handler-found
:
true
redis
:
redis
:
host
:
localhost
host
:
172.21.6.6
database
:
0
database
:
0
port
:
6379
port
:
6379
maxTotal
:
1000
maxTotal
:
1000
...
@@ -63,5 +64,5 @@ mybatis-plus:
...
@@ -63,5 +64,5 @@ mybatis-plus:
jdbc-type-for-null
:
'
null'
jdbc-type-for-null
:
'
null'
gexiang
:
gexiang
:
user_tag_id
:
400000
user_tag_id
:
251696
push_max_size
:
3
0000
push_max_size
:
8
0000
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment