Files
sbnews/docker/.env.docker.example
T
2026-07-11 11:19:43 +08:00

48 lines
1.4 KiB
Bash

TZ=Asia/Shanghai
# MySQL. Keep real credentials in docker/.env.docker only; do not commit it.
DQD_DB_HOST=host.docker.internal
DQD_DB_PORT=3300
DQD_DB_NAME=sbnews
DQD_DB_USER=sbnews
DQD_DB_PASSWORD=change-me
DQD_DB_PREFIX=la_
DQD_DB_CHARSET=utf8mb4
# Redis, used by crawler modules that need cache/state.
DQD_REDIS_HOST=host.docker.internal
DQD_REDIS_PORT=6377
DQD_REDIS_PASSWORD=change-me
DQD_REDIS_DB=4
# PHP kb:enqueue-recent should point to the same Redis database as kb-worker.
AI_KB_REDIS_DB=4
DQD_LOG_LEVEL=INFO
DQD_LOG_FILE=/app/logs/crawler.log
# Third-party match odds crawler. Keep the real account in docker/.env.docker only.
ODDS_USERNAME=change-me
ODDS_PASSWORD=change-me
ODDS_BASE_URLS=https://205.201.0.120/,https://mos022.com/,https://hga039.com/,https://mos100.com/
ODDS_SPORT_TYPES=FT,BK,ES,TN,VB,BM,TT,BS,SK,OP
ODDS_SHOW_TYPES=live,today,early
ODDS_VERIFY_TLS=0
# Titan007 public cup odds. Multiple cup URLs can be comma-separated.
TITAN_ODDS_ENABLED=1
TITAN_ODDS_URLS=https://zq.titan007.com/cn/CupMatch/75.html
TITAN_ODDS_COMPANY_ID=3
TITAN_ODDS_EURO_COMPANY_ID=545
TITAN_ODDS_COMPANY_NAME=Crown
TITAN_ODDS_SHOW_TYPE=early
TITAN_ODDS_VERIFY_TLS=1
TITAN_ODDS_TIMEOUT=20
TITAN_ODDS_REQUEST_DELAY_SECONDS=0.2
# AI KB worker embedding config. Keep real key in docker/.env.docker only.
EMBEDDING_API_KEY=change-me
EMBEDDING_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode
EMBEDDING_MODEL=text-embedding-v4
EMBEDDING_DIM=1024