Add environment configuration, enhance Feishu session handling, and implement tests for TLS 1.2 and retry logic
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# PostgreSQL analytics database (required)
|
||||
ANALYTICS_DB_HOST=postgres.example.internal
|
||||
ANALYTICS_DB_PORT=5432
|
||||
ANALYTICS_DB_USER=your_database_user
|
||||
ANALYTICS_DB_PASSWORD=your_database_password
|
||||
ANALYTICS_DB_NAME=your_database_name
|
||||
|
||||
# Feishu application and Bitable (required)
|
||||
FEISHU_APP_ID=cli_your_app_id
|
||||
FEISHU_APP_SECRET=your_feishu_app_secret
|
||||
FEISHU_BASE_URL=https://example.feishu.cn/base/your_app_token
|
||||
|
||||
# Sync settings
|
||||
PROJECT_MAPPING_FILE=店铺映射表.xlsx
|
||||
FEISHU_STORE_FIELD_NAME=店铺名称
|
||||
SYNC_START_DATE=2026-04-01
|
||||
|
||||
# Feishu notification (optional; configure one or both as needed)
|
||||
FEISHU_BOT_WEBHOOK=
|
||||
FEISHU_CHAT_ID=
|
||||
FEISHU_REPORT_IMAGE_PATH=
|
||||
|
||||
# Prefect (required only for Prefect deployment/worker mode)
|
||||
PREFECT_API_URL=http://host.docker.internal:4200/api
|
||||
PREFECT_SYNC_STATE_FILE=
|
||||
|
||||
# Logging (optional)
|
||||
LOG_DIR=
|
||||
LOG_FILE_NAME=gmv_sync.log
|
||||
LOG_LEVEL=INFO
|
||||
LOG_MAX_BYTES=10485760
|
||||
LOG_BACKUP_COUNT=7
|
||||
Reference in New Issue
Block a user