|
@@ -8,29 +8,38 @@ spring:
|
|
|
ds0:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://127.0.0.1:3306/erp-standard?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true&useSSL=false
|
|
|
+ url: jdbc:mysql://120.46.190.49:3306/erp-standard?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true&useSSL=false
|
|
|
username: root
|
|
|
- password: root
|
|
|
+ #password: root
|
|
|
+ password: Gd8XCWEef72GerxE
|
|
|
|
|
|
#rabbitmq
|
|
|
rabbitmq:
|
|
|
- host: 127.0.0.1
|
|
|
+ host: 120.46.190.49
|
|
|
port: 5672
|
|
|
- username: guest
|
|
|
- password: guest
|
|
|
- virtual-host: /
|
|
|
+ username: admin
|
|
|
+ password: Gd8XCWEef72GerxE
|
|
|
+ virtual-host: /v3studio
|
|
|
+ listener:
|
|
|
+ simple:
|
|
|
+ # 设置为manual时,如果队列不存在会自动创建
|
|
|
+ auto-startup: true
|
|
|
+ acknowledge-mode: auto
|
|
|
+ # 是否自动创建队列
|
|
|
+ missing-queues-fatal: false
|
|
|
|
|
|
#redis 配置
|
|
|
redis:
|
|
|
type: standalone
|
|
|
config:
|
|
|
type: manual
|
|
|
- host: 127.0.0.1
|
|
|
+ host: 120.46.190.49
|
|
|
+ password: Iayq@742295
|
|
|
port: 6379
|
|
|
maxIdle: 500
|
|
|
maxTotal: 500
|
|
|
maxWaitMillis: -1
|
|
|
- database: 1
|
|
|
+ database: 14
|
|
|
|
|
|
# 开发环境日志为debug
|
|
|
logging:
|
|
@@ -40,7 +49,7 @@ logging:
|
|
|
xxl:
|
|
|
job:
|
|
|
admin:
|
|
|
- addresses: http://127.0.0.1:8080/xxl-job-admin
|
|
|
+ addresses: http://120.46.190.49:8484/xxl-job-admin
|
|
|
executor:
|
|
|
appname: erp-job-executer
|
|
|
ip:
|