fao/config/.env.example
2026-04-23 19:24:46 +08:00

30 lines
1.0 KiB
Plaintext
Raw Permalink 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.

# 本地复制为 .env 后填写。勿将含真实密码/密钥的 .env 提交版本库。
#
# Java 治理接口POST /api/v1/internal/governance/consume-raw请求头 X-Fao-Governance-Token
# FAO_GOVERNANCE_TOKEN=
#
# 定时消费 raw对应 application.yml / fao.governance.scheduled.*,也可用 Spring 环境变量覆盖)
# FAO_GOVERNANCE_SCHEDULED_ENABLED=true
# FAO_GOVERNANCE_SCHEDULED_INITIALDELAYMS=120000
# FAO_GOVERNANCE_SCHEDULED_FIXEDDELAYMS=300000
# FAO_GOVERNANCE_SCHEDULED_BATCHLIMIT=50
#
# Python 采集写 rawingest_raw_event与 server Flyway 对齐:
FAO_MYSQL_HOST=127.0.0.1
FAO_MYSQL_PORT=3306
FAO_MYSQL_USER=fao
FAO_MYSQL_PASSWORD=changeme
FAO_MYSQL_DATABASE=fao
#
# 可选:覆盖默认样例路径(默认 data/samples/demo_vegetable_prices.json
# FAO_SAMPLE_JSON_PATH=
#
# http_json 适配器(仅用于已授权 JSON 接口)
# FAO_HTTP_JSON_URL=
# FAO_HTTP_SOURCE_CODE=DEMO
# FAO_HTTP_TIMEOUT_SECONDS=30
# FAO_HTTP_USER_AGENT=fao-ingest/0.1
#
# 可选: Redis
# FAO_REDIS_URL=redis://127.0.0.1:6379/0