Commit 92f168d3 by huangfusuper

修改测试环境的配置

parent d22056b7
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.0.120.30:3307/myth-job?Unicode=true&characterEncoding=UTF-8&useSSL=true url: jdbc:mysql://${CM_IP}/myth-job?Unicode=true&characterEncoding=UTF-8&useSSL=true
username: root username: ${CM_USER}
password: root password: ${CM_PWD}
redis: redis:
database: 0 database: 0
host: 10.0.120.208 host: ${Redis_IP}
port: 6379 port: ${Redis_port}
password: password:
timeout: 3000 timeout: 3000
pool: pool:
...@@ -32,7 +32,7 @@ mybatis: ...@@ -32,7 +32,7 @@ mybatis:
myth-rpc: myth-rpc:
registry: registry:
address: http://10.0.120.200:8080/myth-register address: http://${Eureka_IP}/myth-register
env: test env: test
biz: byit-myth-job biz: byit-myth-job
logging: logging:
......
# myth-rpc # myth-rpc
myth-rpc: myth-rpc:
registry: registry:
address: http://10.0.120.200:8080/myth-register address: http://${Eureka_IP}/myth-register
biz: byit-myth-job biz: byit-myth-job
env: test env: test
remoting: remoting:
...@@ -21,8 +21,8 @@ myth-job: ...@@ -21,8 +21,8 @@ myth-job:
spring: spring:
redis: redis:
database: 0 database: 0
host: 10.0.120.208 host: ${Redis_IP}
port: 6379 port: ${Redis_port}
password: password:
timeout: 3000 timeout: 3000
pool: pool:
......
...@@ -12,11 +12,11 @@ logging: ...@@ -12,11 +12,11 @@ logging:
springframework: INFO springframework: INFO
myth-rpc: myth-rpc:
registry: registry:
address: http://10.0.120.200:8080/myth-register address: http://${Eureka_IP}/myth-register
biz: byit-myth-job biz: byit-myth-job
env: test env: test
remoting: remoting:
port: 7776 port: ${Remote_PORT}
spring: spring:
datasource: datasource:
...@@ -25,9 +25,9 @@ spring: ...@@ -25,9 +25,9 @@ spring:
idle-timeout: 60000 idle-timeout: 60000
maximum-pool-size: 5 maximum-pool-size: 5
minimum-idle: 1 minimum-idle: 1
password: root password: ${CM_PWD}
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 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: root username: ${CM_USER}
zuul: zuul:
route: route:
refreshCron: 0/10 * * * * ? refreshCron: 0/10 * * * * ?
......
...@@ -15,9 +15,9 @@ spring: ...@@ -15,9 +15,9 @@ spring:
datasource: datasource:
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
type: org.apache.tomcat.jdbc.pool.DataSource 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 url: jdbc:mysql://${CM_IP}/myth-registry?Unicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
username: root username: ${CM_USER}
password: root password: ${CM_PWD}
tomcat: tomcat:
max-active: 30 max-active: 30
max-wait: 10000 max-wait: 10000
...@@ -33,3 +33,4 @@ spring: ...@@ -33,3 +33,4 @@ spring:
static-path-pattern: /static/** static-path-pattern: /static/**
resources: resources:
static-locations: classpath:/static/ 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