配置文件修改
This commit is contained in:
parent
e0bcd0ced4
commit
dbead7c863
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
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 #配置日志生成路径
|
||||
|
Loading…
x
Reference in New Issue
Block a user