Service: fts
Host: 0.0.0.0
Port: 16290

Databases:
  Driver: postgres
  Source:
    - host=127.0.0.1 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai

# cache DB的选择请在后面直接带参数，不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@127.0.0.1:6379/0

# 是否启用微服务模式
OnMicroService: false

# 微服务调用密钥
SecretKey: CHANGE_ME


MinioOss:
  Site: http://oss.make-w.com
  Endpoint: fts.apinb.com:9000
  AccessKeyId: 9jtPPB7wwJpe5R2164bS
  AccessKeySecret: CHANGE_ME
  UseSSL: false

Local:
  Site: http://files.apinb.com
  UploadDir: ./uploader/
  
FtsConfig:
  InputKey: file
  MaxSize: 5368709120 # MB
  Allows:
    - .doc
    - .docx
    - .txt
    - .png
    - .jpg
    - .jpeg
    - .gif
    - .pdf
    - .xls
    - .xlsx
    - .ppt
    - .pptx
    - .mp4
    - .avi
    - .mkv
    - .webp
    - .mov
    - .wmv
    - .mp3
    - .wav

# 日志记录
Log:
  ServiceName: {ServiceKey}
  Mode: file
  Path: logs/{ServiceKey}
  Stat: false

# 性能监控
Prometheus:
  Host: 127.0.0.1
  Port: 22214
  Path: /metrics

# 链路追踪
# Telemetry:
#   Name: {Workspace}.{ServiceKey}.{RuntimeMode}
#   Endpoint: http://127.0.0.1:14268/api/traces
#   Sampler: 1.0
#   Batcher: jaeger



