Files
daily-news-app/.env.example
donald db0f0bbfe7 Initial commit: Daily News App
企業內部新聞彙整與分析系統
- 自動新聞抓取 (Digitimes, 經濟日報, 工商時報)
- AI 智慧摘要 (OpenAI/Claude/Ollama)
- 群組管理與訂閱通知
- 已清理 Python 快取檔案

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 23:53:24 +08:00

69 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ===========================================
# 每日報導 APP 環境設定
# ===========================================
# 應用程式設定
APP_NAME=每日報導APP
APP_ENV=development
DEBUG=true
SECRET_KEY=your-secret-key-change-in-production
# 資料庫設定
DB_HOST=localhost
DB_PORT=3306
DB_NAME=daily_news_app
DB_USER=root
DB_PASSWORD=your-password
# JWT 設定
JWT_SECRET_KEY=your-jwt-secret-key
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=480
# AD/LDAP 設定
LDAP_SERVER=ldap://your-ad-server.com
LDAP_PORT=389
LDAP_BASE_DN=DC=company,DC=com
LDAP_BIND_DN=CN=service_account,OU=Users,DC=company,DC=com
LDAP_BIND_PASSWORD=
# LLM 設定三選一gemini / openai / ollama
LLM_PROVIDER=gemini
# Google Gemini API
GEMINI_API_KEY=
GEMINI_MODEL=gemini-1.5-pro
# OpenAI API
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o
# Ollama 地端部署
OLLAMA_ENDPOINT=http://localhost:11434
OLLAMA_MODEL=llama3
# SMTP 設定
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM_EMAIL=noreply@company.com
SMTP_FROM_NAME=每日報導系統
# 爬蟲設定
CRAWL_SCHEDULE_TIME=08:00
CRAWL_REQUEST_DELAY=3
CRAWL_MAX_RETRIES=3
# Digitimes 登入
DIGITIMES_USERNAME=
DIGITIMES_PASSWORD=
# 資料保留
DATA_RETENTION_DAYS=60
# PDF 設定
PDF_LOGO_PATH=
PDF_HEADER_TEXT=
PDF_FOOTER_TEXT=本報告僅供內部參考使用