123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- server-port: 19996
- meta:
- server-debug: true
- static-dir: "/data/www/cockData/static/"
- pass-port-check-url: https://test-sdk.merryrealm.com/passport/api/v1/session_check
- mysql:
- driver: mysql
- host: rm-bp16802aur0202jlu3o.mysql.rds.aliyuncs.com
- port: 3306
- user: zc
- pwd: "@zc123456"
- name: cock-test
- character: utf8
- max_idle_con: 30
- max_open_con: 300
- redis:
- cluster: false
- host: r-bp1v0uyz5ok5kf4z0fpd.redis.rds.aliyuncs.com # cluster 模式不生效
- port: 6379 # cluster 模式不生效
- db: 20 # cluster 模式不生效
- pwd: "hdl_redis_123:hdl_redis_123" # "hdl_redis_123:hdl_redis_123"
- pool-size: 300
- cluster-addr:
- - host: 00.00.00.00
- port: 6292
- - host: 00.00.00.00
- port: 6287
- namesrv:
- - url: 00.00.00.00
- port: 9876
- - url: 00.00.00.00
- port: 9876
- logger:
- level: "DEBUG"
- lumberjack:
- # 写日志的文件名称
- filename: "./log.logs"
- # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB
- maxSize: 100
- # 日志保留的最大天数(只保留最近多少天的日志)
- maxAge: 7
- # 只保留最近多少个日志文件,用于控制程序总日志的大小
- maxBackups: 5
- # 是否使用本地时间,默认使用 UTC 时间
- localTime: true
- # 是否压缩日志文件,压缩方法 gzip
- compress: true
|