github.com/wfusion/gofusion@v1.1.14/test/config/configs/app.required.yml (about)

     1  base:
     2    debug: true
     3    app: gofusion
     4    crypto:
     5      config:
     6        mode: gcm
     7        algorithm: sm4
     8        key_base64: MTIzNDU2NzhhYmNkZWZnaA==
     9        confuse_key: true
    10        output_algorithm: base64
    11    http:
    12      port: 9001
    13    i18n:
    14    goroutine_pool:
    15    metrics:
    16      prometheus:
    17        type: prometheus
    18        mode: push
    19        interval: 15s
    20        endpoint:
    21          addresses: [ prometheus:9091 ]
    22    log:
    23      default:
    24        enable_console_output: true
    25        enable_file_output: true
    26    db:
    27      default:
    28        driver: mysql
    29        db: mysql
    30        host: mysql
    31        port: 3306
    32        user: root
    33        password: "j8RJId7eTMAUJ3NUytlZGqVzP6wOzrbTX7YcizC8"
    34    mongo:
    35      default:
    36        db: admin
    37        user: root
    38        password: "j8RJId7eTMAUJ3NUytlZGqVzP6wOzrbTX7YcizC8"
    39        endpoints:
    40          - mongo:27017
    41    redis:
    42      default:
    43        db: 0
    44        user: ""
    45        password: "j8RJId7eTMAUJ3NUytlZGqVzP6wOzrbTX7YcizC8"
    46        cluster: false
    47        endpoints:
    48          - redis:6379
    49    mq:
    50      default:
    51        topic: gofusion
    52        type: mysql
    53        producer: true
    54        consumer: true
    55        consumer_group: default_group
    56        endpoint:
    57          instance_type: db
    58          instance: default
    59    cache:
    60      local:
    61        type: local
    62    lock:
    63      default:
    64        type: redis_lua
    65        instance: default
    66    async:
    67      default:
    68        type: asynq
    69        instance: default
    70        instance_type: redis
    71        producer: true
    72        consumer: true
    73    cron:
    74      default:
    75        type: asynq
    76        instance: default
    77        instance_type: redis
    78        lock_instance: "default"
    79        trigger: true
    80        server: true
    81        queue: ""