conf.yaml 657 Bytes
develop: true
name: "Pro2DServer"
workerid: 1
datacenterid: 1

mongo: &default-mongo
  host: "192.168.0.206"
  port: 27017
  user: ""
  password: ""
  timeout: 2
  maxnum: 50

etcd:
  dialtimeout: 5
  endpoints:
    - "192.168.0.206:2379"

server_account:
  id: "1"
  name: "account"
  ip: "192.168.0.206"
  port: 8848
  dbname: "account"

server_game:
  id: "1"
  name: "game"
  ip: "192.168.0.206"
  port: 8849
  dbname: "game"

logconf:
  filename: "./pro2d.log"      # ⽇志⽂件路径
  maxsize: 1024				# 1M=1024KB=1024000byte
  maxbackups: 5				# 最多保留5个备份
  maxage: 30					# days
  compress: true				# 是否压缩 disabled by default