Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
dbead7c8
Commit
dbead7c8
authored
Jun 09, 2019
by
macro
Browse files
配置文件修改
parent
e0bcd0ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/resources/application-prod.yml
View file @
dbead7c8
...
...
@@ -35,6 +35,13 @@ spring:
min-idle
:
0
# 连接池中的最小空闲连接
timeout
:
0ms
# 连接超时时间(毫秒)
rabbitmq
:
host
:
rabbit
port
:
5672
virtual-host
:
/mall
username
:
mall
password
:
mall
publisher-confirms
:
true
#如果对异步消息需要回调必须设置为true
# 日志配置
logging
:
path
:
/var/logs
...
...
mall-search/src/main/resources/application-prod.yml
View file @
dbead7c8
spring
:
datasource
:
url
:
jdbc:mysql://
localhost
:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://
db
:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username
:
reader
password
:
123456
druid
:
...
...
@@ -17,7 +17,7 @@ spring:
elasticsearch
:
repositories
:
enabled
:
true
cluster-nodes
:
127.0.0.1
:9300
cluster-nodes
:
es
:9300
logging
:
path
:
/var/logs
#配置日志生成路径
Write
Preview
Supports
Markdown
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