Files
daily-news-digest/.env.example
T

44 lines
1018 B
Bash

# Application
APP_ENV=production
APP_PORT=
APP_BASE_URL=
APP_SECRET_KEY=
APP_ADMIN_TOKEN=
# PostgreSQL through an SSH tunnel.
# For a process running on the host use 127.0.0.1.
# For a Docker container use host.docker.internal (see README.md).
PGHOST=
PGPORT=
PGDATABASE=
PGUSER=
PGPASSWORD=
PGSSLMODE=prefer
# SMTP - leave blank until email delivery is configured.
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=
SMTP_TO=
SMTP_USE_TLS=
# Optional machine translation for non-Chinese articles. This is separate
# from AI analysis; leave blank/false to keep the original language.
TRANSLATION_ENABLED=false
TRANSLATION_PROVIDER=
TRANSLATION_API_URL=
TRANSLATION_API_KEY=
TRANSLATION_TARGET_LANGUAGE=ZH
# n8n (only needed when wiring the workflow to this application)
N8N_BASE_URL=
N8N_WEBHOOK_SECRET=
# SSH tunnel is intentionally not automated by this file.
# Keep the private key on the server/operator machine.
SSH_TUNNEL_LOCAL_PORT=15432
SSH_TUNNEL_REMOTE_HOST=127.0.0.1
SSH_TUNNEL_REMOTE_PORT=5432