Files
sbnews/docker/.env.docker.example
T

37 lines
1.1 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
# 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