Browse Source

增加配置

airhead 7 years ago
commit
56309d09be
2 changed files with 105 additions and 0 deletions
  1. 105 0
      hos-broker.yml
  2. 0 0
      hos-configuration.yml

+ 105 - 0
hos-broker.yml

@ -0,0 +1,105 @@
spring:
  application:
    name: HosBrokerServer
server:
  port: 8099
  contextPath:
  sessionTimeout:  300
security:
  basic:
    enabled: false
# the name of Camel
camel:
  springboot:
    name: HosBrokerServer
---
spring:
  profiles: dev
  activemq:
    broker-url: tcp://172.19.103.57:61616
    user: admin
    password: admin
  data:
    mongodb:
      host: 172.19.103.57
      port: 27017
      username: esb
      password: esb
      authenticationDatabase: admin
      database: log
      gridFsDatabase: dfs
eureka:
  client:
    serviceUrl:
      defaultZone: http://192.168.1.221:8761/eureka/
log:
  path: D://logs/logback/dev
  level: info
hos:
  filesystem:
    url: http://172.19.103.57:9010/dfs/file
  arbiter:
    enable: true
    url: http://localhost:10135
  rest:
    url: http://localhost:8088
  timer:
      period: 10000
  tenant:
    name: jkzl
  mycat:
    path: /usr/local/mycat/   ##mycat的安装目录
  #jcraft shell操作
  jcraft:
    host: 172.19.103.57
    port: 22
    user: root
    password: ceshi
---
spring:
  profiles: test
  activemq:
      broker-url: tcp://172.19.103.42:61616
      user: admin
      password: admin
  data:
    mongodb:
      host: 172.19.103.42
      port: 27017
      username: esb
      password: esb
      authenticationDatabase: admin
      database: log
      gridFsDatabase: dfs
eureka:
  client:
    serviceUrl:
      defaultZone: http://192.168.1.221:8761/eureka/
log:
  path: /usr/local/esb/logs/logback/broker
  level: info
hos:
  filesystem:
    url: http://172.19.103.37:9010/dfs/file
  arbiter:
    enable: true
    url: http://172.19.103.37:10135
  rest:
    url: http://172.19.103.37:8088
  timer:
      period: 10000
  tenant:
    name: jkzl
  mycat:
    path: /usr/local/mycat/   ##mycat的安装目录
  #jcraft shell操作
  jcraft:
    host: 172.19.103.37
    port: 22
    user: root
    password: ceshi

+ 0 - 0
hos-configuration.yml