kind: ConfigMap
apiVersion: v1
metadata:
  name: zhimeng-cfg
  namespace: develop
  annotations:
    kubesphere.io/creator: dengbiao
    kubesphere.io/description: 智盟
data:
  cfg.yml: |-
    # 当前域名
    debug: true
    curldebug: true
    prd: true
    local: false
    # 服务器参数
    srv_addr: ':5600'
    # 缓存
    redis_addr: 'redis:6379'

    admin:
      url: http://zhios-admin
      iurl: http://zhios-admin
      api_aes_key: e{&[^<wpliI$AgKs:>Ft(.~g]1eR-]VO
      api_aes_iv: ZV`7<5X]/2brS@sz

    zhios_open:
      url: http://zhios-open:5006 

    supply:
      url: http://supply-chain-admin:5500
    
    official:
      url: http://zhios-official

    wxapplet_filepath:
      url: '/etc/zyos-admin/wx_check_file'

    app_comm:
      url: http://zhios-app-comm:5003

    website_backend:
      url: http://zhios-super-admin

    zhios_pay:
      url: http://pay.zhios.cn

    db:
      host: 'polardb'
      name: 'zyos_website'
      user: 'zhios'
      psw: 'ZHIoscnfnuo123@'
      show_log: true
      max_lifetime: 30
      max_open_conns: 100
      max_idle_conns: 100
      path: 'tmp/%s.log'

    # 日志
    log:
      app_name: 'applet'
      level: 'debug' # 普通日志级别  #debug, info, warn, fatal, panic
      is_stdout: true
      time_format: 'standard' # sec, second, milli, nano, standard, iso
      encoding: 'console'
      is_file_out: true
      file_dir: './tmp/'
      file_max_size: 256
      file_max_age: 1
      file_name: 'debug.log'
    
    # 连接RabbitMq
    mq:
      host: '116.62.62.35'
      port: '5672'
      user: 'zhios'
      pwd: 'ZHIoscnfnuo123'      

    # 连接ElasticSearch
    es:
    url: 'http://120.55.48.175:9200'
    user: 'elastic'
    pwd: 'fnuo123'