-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (25 loc) · 1.08 KB
/
.env.example
File metadata and controls
33 lines (25 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Self-hosted (non-Cloudron) configuration
# Copy to .env and fill in your values
# On Cloudron, all of these are injected automatically by addons
# Database (PostgreSQL)
DATABASE_URL=postgres://user:password@localhost:5432/newsdiff
# Redis (for BullMQ job queue)
REDIS_URL=redis://localhost:6379
# Public origin of the app (used for ActivityPub and OG tags)
ORIGIN=https://your-domain.com
# ActivityPub bot
BOT_USERNAME=bot
BOT_ORIGIN=https://your-domain.com
# Optional: Bluesky syndication
# BLUESKY_HANDLE=yourhandle.bsky.social
# BLUESKY_PASSWORD=xxxx-xxxx-xxxx-xxxx
# BLUESKY_EMBED_TYPE=image # "image" (full-size diff card, default) or "card" (link card with thumbnail)
# Optional: Internet Archive (Wayback Machine) — get keys at https://archive.org/account/s3.php
# ARCHIVE_ORG_ACCESS=your-access-key
# ARCHIVE_ORG_SECRET=your-secret-key
# Optional: minimum gap between syndication posts in milliseconds (default: 300000 = 5 minutes)
# SYNDICATE_RATE_MS=300000
# Optional: separate Redis host/port (alternative to REDIS_URL)
# REDIS_HOST=localhost
# REDIS_PORT=6379
# REDIS_PASSWORD=