service_name: game-service
node_id: game-docker
environment: local
grpc_addr: ":13008"
health_http_addr: ":13108"
mysql_dsn: "hyapp:hyapp@tcp(mysql:3306)/hyapp_game?parseTime=true&charset=utf8mb4&loc=UTC&multiStatements=true"
wallet_service_addr: "wallet-service:13004"
user_service_addr: "user-service:13005"
activity_service_addr: "activity-service:13006"
robot_service_addr: "robot-service:13011"
launch_session_ttl: "15m"
tencent_im:
  # Docker/testbox 联调房内猜拳 PK 房间群消息；必须和 gateway/room 使用同一个 IM 应用。
  enabled: true
  sdk_app_id: 20040101
  secret_key: "2f6a5ec58cccf79647557a96c15e6efe89ba5a44c474096bde2589a633fcd45e"
  admin_identifier: "administrator"
  admin_user_sig_ttl: "24h"
  endpoint: "adminapisgp.im.qcloud.com"
  group_type: "ChatRoom"
  request_timeout: "5s"
rocketmq:
  enabled: true
  name_servers: ["rocketmq-namesrv:9876"]
  name_server_domain: ""
  access_key: ""
  secret_key: ""
  namespace: ""
  send_timeout: "3s"
  retry: 2
  game_outbox:
    enabled: true
    topic: "hyapp_game_outbox"
    producer_group: "hyapp-game-outbox-producer"
outbox_worker:
  enabled: true
  poll_interval: "1s"
  batch_size: 100
  publish_timeout: "3s"
log:
  level: info
  format: json
  include_request_body: false
  include_response_body: false
  max_payload_bytes: 2048
