fix: use host network and restore web chat records
This commit is contained in:
+2
-2
@@ -6,14 +6,14 @@ TG_CHAT_ID=-100xxxxxxxxxx
|
||||
# Tortoise ORM 使用 postgres:// scheme,不是 postgresql://
|
||||
# 宿主机/本地运行用外部地址:
|
||||
DATABASE_URL=postgres://user:password@192.168.123.5:15432/tg-spam-guard
|
||||
# Docker Compose 中会覆盖为:postgres://user_eNPcQS:${POSTGRES_PASSWORD}@1Panel-postgresql-KS6e:5432/tg-spam-guard
|
||||
# Docker Compose 使用 host 网络,会覆盖为:postgres://user_eNPcQS:${POSTGRES_PASSWORD}@127.0.0.1:15432/tg-spam-guard
|
||||
# 生产环境请在 .env 中设置真实密码,不要提交 .env
|
||||
POSTGRES_PASSWORD=your_postgres_password
|
||||
|
||||
# Ollama
|
||||
# 宿主机/本地运行:
|
||||
OLLAMA_URL=http://127.0.0.1:11434
|
||||
# Docker Compose 中会覆盖为:http://host.docker.internal:11434
|
||||
# Docker Compose 使用 host 网络,会覆盖为:http://127.0.0.1:11434
|
||||
OLLAMA_MODEL=qwen3:8b
|
||||
|
||||
# Proxy
|
||||
|
||||
Reference in New Issue
Block a user