server: port: 9999 # shanghai 42.192.52.227 # local 10.250.0.100 # cqga 42.192.52.227 spring: main: allow-circular-references: true allow-bean-definition-overriding: true rabbitmq: host: 10.250.0.100 port: 20672 username: boge password: boge8tingH virtual-host: / listener: simple: retry: # ack failed will reentrant the Rabbit Listener max-attempts: 2 enabled: true # retry interval unit ms max-interval: 65000 initial-interval: 2000 redis: host: 10.250.0.100 port: 21370 database: 0 password: boge8tingH # max-redirects: 3 timeout: 50000 #如果用以前的jedis,可以把下面的lettuce换成jedis即可 jedis: pool: # 连接池最大连接数默认值为8 max-active: 16 # 连接池最大阻塞时间(使用负值表示没有限制)默认值为-1 max-wait: 1000 # 连接池中最大空闲连接数默认值为8 max-idle: 16 # 连接池中的最小空闲连接数,默认值为0 min-idle: 4 time-between-eviction-runs: 50000 datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://10.250.0.100:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8 username: boge password: boge8tingH type: com.zaxxer.hikari.HikariDataSource hikari: minimum-idle: 3 # 空闲连接存活最大时间,默认600000(10分钟) idle-timeout: 180000 # 连接池最大连接数,默认是10 maximum-pool-size: 5 # 此属性控制从池返回的连接的默认自动提交行为,默认值:true auto-commit: true connection-test-query: SELECT 1 # 最大文件上传 servlet: multipart: max-file-size: 500MB max-request-size: 500MB mybatis-plus: type-aliases-package: io.wdd.server.beans.po global-config: db-column-underline: true db-config: # modify ethe id strategy id-type: assign_id # logic delete field globally logicDeleteField: isDelete logic-not-delete-value: 0 logic-delete-value: 1 banner: false configuration: # 希望知道所有的sql是怎么执行的, 配置输出日志 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl # 数据库下划线--实体类也是下划线 需要为false map-underscore-to-camel-case: true # 一级缓存的 缓存级别默认为 session,如果要关闭一级缓存可以设置为 statement local-cache-scope: session # 是否开启二级缓存 cache-enabled: false # 分页插件配置 interceptor: com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor # 默认地址为 classpath*:/mapper/**/*.xml # mapper-locations: classpath*:/real-mappers/**/*.xml octopus: notify: # 消息通知的URL地址 pusher_url: http://192.168.35.71:8080 # 发送消息的密钥 不需要使用 access_token: tk_zvdb67fwj1hrjivkq3ga9z7u63av5 message: # agent boot up default common exchange init_exchange: InitExchange # server will send message to agent using this common queue init_to_server: InitToServer # agent boot up default common exchange routing key init_to_server_key: InitToServerKey # server will receive message from agent using this common queue init_from_server: InitFromServer # agent boot up default common exchange routing key init_from_server_key: InitFromServerKey # initialization register time out (unit ms) default is 5 min init_ttl: "3000000" # Octopus Exchange Name == server comunicate with agent octopus_exchange: OctopusExchange # Octopus Message To Server == all agent send info to server queue and topic octopus_to_server: OctopusToServer executor: name: executor-functions status: name: octopus-agent healthy: type: cron cron: 10 * * * * ? * start-delay: 30 metric: type: cron cron: 30 * * * * ? * start-delay: 40 oss: # 这里只是因为需要一个层级,不一定下面的都是oracle oracle: seoul1: namespace: cnk8d6fazu16 region: ap-seoul-1 key: aed62d24d85e2da809ce02bf272420ba4ed74820 secret: rQdEcn69K049+JkA1IGoQmC1k8zma8zfWvZvVS0h144= capacity: 10737418240 seoul2: namespace: cncvl8ro2rbf region: ap-seoul-1 key: 9e413c6e66269bc65d7ec951d93ba9c6a9781f6e secret: dkXD7PysjrhsTKfNIbKupUmtxdfOvYCyLXf0MXa4hnU= capacity: 10737418240 tokyo1: namespace: nrjcs6lwr9vy region: ap-tokyo-1 key: 0584c323d6c8d24cc2fc8c2d716a4ea35bb99ae6 secret: +xicO9obeqzC5a/WY1rXvl5pMWSWbVIpMt3Qv691NtU= capacity: 10737418240 phoenix1: namespace: axqr6x6t48wm region: us-phoenix-1 key: e87a121f1548b244c7bd649a1f0ca35195d46cf2 secret: uT+NIgJiKPjSaPT8EVUw3xbLSCv/CFMFuebVauznafk= capacity: 10737418240 london1: namespace: lrmzslyt8jzs region: uk-london-1 key: 57671886f9f1bcc5ac7235b5a0e6123f5ca271b3 secret: ukWae6TXjID2Wqxh+7mAPAf4busZPGzwAh/WDKZ5MOQ= capacity: 10737418240 # 开启debug模式 logging: level: io.wdd.rpc: debug