Skip to content
本页内容

~/conf/man.yml

yml
server:
  # 管理工具端口号
  port: 6104
spring:
  application:
    name: config-center
  main:
    allow-bean-definition-overriding: true

  #   datasource:
  #     type: com.alibaba.druid.pool.DruidDataSource
  #     driver-class-name: oracle.jdbc.OracleDriver
  #     url: jdbc:oracle:thin:@192.168.1.11:1521:orcl
  #     username: browser2
  #     password: browser2

  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    joda-date-time-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  mvc:
    servlet:
      load-on-startup: 1

logging:
  level:
    root: info
    com.cloud: info
    com.kanq: info
  file: data/logs/${server.port}.log
  maxsize: 30MB

file:
  root:
    path: ${file-path:data/secrets/} #凭证目录
    expire: ${file-expire:1800} #单位为妙
    type: ${file-type:0} #1表示4位数字 2表示6位随机串 3表示中文名

    # 管理工具的登录密码,不设置,服务启动时会自动生成密码
    password: 1234QWER
    update: https://oa.kqgeo.com:20208/update/ #验证应用更新地址
    download: https://oa.kqgeo.com:20208/download/ #下载应用地址

# 平台模式:single(单服务)、cloud(多服务)、multiTenant(多租户)
platform:
  version-beta: true
server:
  # 管理工具端口号
  port: 6104
spring:
  application:
    name: config-center
  main:
    allow-bean-definition-overriding: true

  #   datasource:
  #     type: com.alibaba.druid.pool.DruidDataSource
  #     driver-class-name: oracle.jdbc.OracleDriver
  #     url: jdbc:oracle:thin:@192.168.1.11:1521:orcl
  #     username: browser2
  #     password: browser2

  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    joda-date-time-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  mvc:
    servlet:
      load-on-startup: 1

logging:
  level:
    root: info
    com.cloud: info
    com.kanq: info
  file: data/logs/${server.port}.log
  maxsize: 30MB

file:
  root:
    path: ${file-path:data/secrets/} #凭证目录
    expire: ${file-expire:1800} #单位为妙
    type: ${file-type:0} #1表示4位数字 2表示6位随机串 3表示中文名

    # 管理工具的登录密码,不设置,服务启动时会自动生成密码
    password: 1234QWER
    update: https://oa.kqgeo.com:20208/update/ #验证应用更新地址
    download: https://oa.kqgeo.com:20208/download/ #下载应用地址

# 平台模式:single(单服务)、cloud(多服务)、multiTenant(多租户)
platform:
  version-beta: true

Powerd by Vitepress.