|
@@ -1,6 +1,6 @@
|
|
spring:
|
|
spring:
|
|
datasource:
|
|
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
|
|
username: reader
|
|
password: 123456
|
|
password: 123456
|
|
druid:
|
|
druid:
|
|
@@ -17,7 +17,7 @@ spring:
|
|
elasticsearch:
|
|
elasticsearch:
|
|
repositories:
|
|
repositories:
|
|
enabled: true
|
|
enabled: true
|
|
- cluster-nodes: 127.0.0.1:9300
|
|
|
|
|
|
+ cluster-nodes: es:9300
|
|
|
|
|
|
logging:
|
|
logging:
|
|
path: /var/logs #配置日志生成路径
|
|
path: /var/logs #配置日志生成路径
|