github.com/ztalab/ZACA@v0.0.1/conf.test.yml (about)

     1  registry:
     2    self-name: capitalizone.test
     3  
     4  log:
     5    log-proxy:
     6      host: 192.168.2.80
     7      port: 6381
     8      key: ca_log
     9  
    10  redis:
    11    nodes:
    12      - 192.168.2.80:9001
    13      - 192.168.2.80:9002
    14      - 192.168.2.80:9003
    15  
    16  # Cascading CA configuration items
    17  keymanager:
    18    upper-ca: [] # https://@server.ca
    19    self-sign: false # Open representation ROOT CA
    20    csr-templates:
    21      root-ca:
    22        o: CI123 ROOT AUTHORITY
    23        expiry: 175200h
    24      intermediate-ca:
    25        o: SITE CA IDENTIFY
    26        ou: "spiffe://site/cluster"
    27        expiry: 175200h
    28  
    29  singleca:
    30    config-path: "config.json"
    31  
    32  election:
    33    enabled: false
    34    id: capitalizone-leader
    35    baseon: configmap
    36    always-leader: false
    37  
    38  gateway-nervs:
    39    enabled: false
    40    endpoint: ""
    41  
    42  ocsp-host: "http://127.0.0.1:8082"
    43  
    44  http:
    45    ocsp-listen: 0.0.0.0:8082
    46    ca-listen: 0.0.0.0:8081
    47    listen: 0.0.0.0:8080
    48  
    49  mysql:
    50    dsn: root:123456@tcp(192.168.2.80:3306)/cap?charset=utf8mb4&parseTime=True&loc=Local
    51  
    52  influxdb:
    53    enabled: true
    54    address: "192.168.2.80" #192.168.2.80:8086
    55    port: 8086
    56    udp_address: "" #influxdb UDP address of the database,ip:port
    57    database: "msp" # Database name
    58    precision: "ms" #Accuracy n, u, ms, s, m or h
    59    username: "influx-msp"
    60    password: "sunyangpassword"
    61    read-username: "MSP_CUSTOM_INFLUXDB_USERNAME"
    62    read-password: "MSP_CUSTOM_INFLUXDB_PASSWORD"
    63    max-idle-conns: 30
    64    max-idle-conns-per-host: 30
    65    flush-size: 20 #Number of points sent in batch
    66    flush-time: 10 #Time of scheduled batch sending point,Company:s
    67  
    68  vault:
    69    enabled: false
    70    addr: ""
    71    token: ""
    72    prefix: ""
    73    discover: "provider=k8s namespace=msp label_selector=\"app.kubernetes.io/name=vault\""
    74  
    75  mesh:
    76    msp-portal-api: "http://192.168.2.80:8100"
    77  
    78  swagger-enabled: true
    79  
    80  debug: true
    81  
    82  # OCSP configuration
    83  ocsp:
    84    cache-time: 60 # Cache time