2026-05-11 01:40:29 +08:00

38 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

service_name: activity-service
node_id: activity-docker
environment: local
log:
level: info
format: json
include_request_body: false
include_response_body: false
max_payload_bytes: 2048
grpc_addr: ":13006"
mysql_dsn: "hyapp:hyapp@tcp(mysql:3306)/hyapp_activity?parseTime=true&charset=utf8mb4&loc=UTC"
user_service_addr: "user-service:13005"
wallet_service_addr: "wallet-service:13004"
mysql_auto_migrate: false
tencent_im:
# Docker 本地默认关闭播报 REST避免未配置密钥时启动后访问外部腾讯云。
enabled: false
sdk_app_id: 0
secret_key: ""
admin_identifier: "administrator"
admin_user_sig_ttl: "24h"
endpoint: "console.tim.qq.com"
group_type: "ChatRoom"
request_timeout: "5s"
broadcast:
enabled: false
super_gift_min_value: 100000
worker_poll_interval: "1s"
worker_batch_size: 100
worker_lock_ttl: "30s"
worker_max_retry: 8
ensure_groups_on_startup: true
consumer:
room_outbox_poll_interval_ms: 1000
batch_size: 100
message_inbox:
unread_cache_ttl: "60s"