Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 88809e41
authored
Jan 13, 2021
by
leejoker
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改配置文件
1 parent
5a957070
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
linkwe-admin/src/main/resources/application-druid.yml
linkwe-admin/src/main/resources/application.yml
linkwe-admin/src/main/resources/application-druid.yml
View file @
88809e4
...
@@ -6,9 +6,9 @@ spring:
...
@@ -6,9 +6,9 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://
{DB_HOST:127.0.0.1}:
{DB_PORT:3306}/link-wechat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://
${DB_HOST:127.0.0.1}:$
{DB_PORT:3306}/link-wechat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
{
DB_USER
:
root
}
username
:
$
{DB_USER:root}
password
:
{
DB_PASS
:
root
}
password
:
$
{DB_PASS:root}
# 从库数据源
# 从库数据源
slave
:
slave
:
# 从数据源开关/默认关闭
# 从数据源开关/默认关闭
...
...
linkwe-admin/src/main/resources/application.yml
View file @
88809e4
...
@@ -69,9 +69,9 @@ spring:
...
@@ -69,9 +69,9 @@ spring:
# redis 配置
# redis 配置
redis
:
redis
:
# 地址
# 地址
host
:
{
REDIS_HOST
:
localhost
}
host
:
$
{REDIS_HOST:localhost}
# 端口,默认为6379
# 端口,默认为6379
port
:
{
REDIS_PORT
:
6379
}
port
:
$
{REDIS_PORT:6379}
# 密码
# 密码
password
:
password
:
# 连接超时时间
# 连接超时时间
...
@@ -145,7 +145,7 @@ xss:
...
@@ -145,7 +145,7 @@ xss:
# elasticsearch配置
# elasticsearch配置
elasticsearch
:
elasticsearch
:
schema
:
http
schema
:
http
address
:
{
ES_ADDRESS
:
localhost
}
address
:
$
{ES_ADDRESS:localhost}
connectTimeout
:
10000
connectTimeout
:
10000
socketTimeout
:
10000
socketTimeout
:
10000
connectionRequestTimeout
:
10000
connectionRequestTimeout
:
10000
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment