Commit 92f168d3 by huangfusuper

修改测试环境的配置

parent d22056b7
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.0.120.30:3307/myth-job?Unicode=true&characterEncoding=UTF-8&useSSL=true
username: root
password: root
url: jdbc:mysql://${CM_IP}/myth-job?Unicode=true&characterEncoding=UTF-8&useSSL=true
username: ${CM_USER}
password: ${CM_PWD}
redis:
database: 0
host: 10.0.120.208
port: 6379
host: ${Redis_IP}
port: ${Redis_port}
password:
timeout: 3000
pool:
......@@ -32,7 +32,7 @@ mybatis:
myth-rpc:
registry:
address: http://10.0.120.200:8080/myth-register
address: http://${Eureka_IP}/myth-register
env: test
biz: byit-myth-job
logging:
......
# myth-rpc
myth-rpc:
registry:
address: http://10.0.120.200:8080/myth-register
address: http://${Eureka_IP}/myth-register
biz: byit-myth-job
env: test
remoting:
......@@ -21,8 +21,8 @@ myth-job:
spring:
redis:
database: 0
host: 10.0.120.208
port: 6379
host: ${Redis_IP}
port: ${Redis_port}
password:
timeout: 3000
pool:
......
......@@ -12,11 +12,11 @@ logging:
springframework: INFO
myth-rpc:
registry:
address: http://10.0.120.200:8080/myth-register
address: http://${Eureka_IP}/myth-register
biz: byit-myth-job
env: test
remoting:
port: 7776
port: ${Remote_PORT}
spring:
datasource:
......@@ -25,9 +25,9 @@ spring:
idle-timeout: 60000
maximum-pool-size: 5
minimum-idle: 1
password: root
url: jdbc:mysql://10.0.120.30:3307/myth-registry?useUnicode=true&useSSL=true&characterEncoding=utf-8&mysqlEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=false&autoReconnect=true&failOverReadOnly=false
username: root
password: ${CM_PWD}
url: jdbc:mysql://${CM_IP}/myth-registry?useUnicode=true&useSSL=true&characterEncoding=utf-8&mysqlEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=false&autoReconnect=true&failOverReadOnly=false
username: ${CM_USER}
zuul:
route:
refreshCron: 0/10 * * * * ?
......
......@@ -15,9 +15,9 @@ spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
type: org.apache.tomcat.jdbc.pool.DataSource
url: jdbc:mysql://10.0.120.30:3307/myth-registry?Unicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
username: root
password: root
url: jdbc:mysql://${CM_IP}/myth-registry?Unicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
username: ${CM_USER}
password: ${CM_PWD}
tomcat:
max-active: 30
max-wait: 10000
......@@ -33,3 +33,4 @@ spring:
static-path-pattern: /static/**
resources:
static-locations: classpath:/static/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment