29 lines
781 B
Bash
29 lines
781 B
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
|
|
|
|
# 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
|