Files
BelgianBitcoinEmbassy/.env.example
bbe 78271ea110 feat: organizers, meetups UI, Plausible analytics, and migration tooling
- Add organizer model/API, admin and public organizer pages, meetup cards
- Refresh events/home/contact; add calendar dialog and carousel components
- Optional Plausible via NEXT_PUBLIC_PLAUSIBLE_* env vars in root layout
- Prisma migration, seed updates, baseline-and-migrate script

Made-with: Cursor
2026-04-04 21:55:34 +02:00

48 lines
2.1 KiB
Plaintext

# Admin pubkeys (comma-separated hex pubkeys)
ADMIN_PUBKEYS=npub1examplepubkey1,npub1examplepubkey2
# Nostr relays (comma-separated)
RELAYS=wss://relay.damus.io,wss://nos.lol,wss://relay.nostr.band
# Database (path is relative to the backend working directory for file: URLs — keep deploy cwd consistent)
# After pulling code: from backend run `npm run migrate:deploy` (or `npm run db:migrate`) so migrations
# run in order. Do not rely on `db:push` for upgrades that add required columns to non-empty tables.
#
# If migrate fails with P3005 (schema not empty / no migration history, e.g. DB was created with db push),
# from backend run once: `npm run db:baseline-and-migrate` (see scripts/baseline-and-migrate.sh).
DATABASE_URL="file:./dev.db"
# JWT
JWT_SECRET=change-me-to-a-random-secret-in-production
# Backend
BACKEND_PORT=4000
FRONTEND_URL=http://localhost:3000
# Media storage (path relative to repo root, or use an absolute path in production)
MEDIA_STORAGE_PATH=storage/media
# Frontend (public)
NEXT_PUBLIC_API_URL=http://localhost:4000/api
NEXT_PUBLIC_SITE_URL=https://belgianbitcoinembassy.org
NEXT_PUBLIC_SITE_TITLE=Belgian Bitcoin Embassy
NEXT_PUBLIC_SITE_TAGLINE=Belgium's Monthly Bitcoin Meetup
# Plausible analytics (optional; both must be set or the script is omitted)
# Tracked site domain (data-domain). Example: belgianbitcoinembassy.org
NEXT_PUBLIC_PLAUSIBLE_DOMAIN=belgianbitcoinembassy.org
# Plausible / custom analytics host origin, no trailing slash. Example: https://analytics.azzamo.net
NEXT_PUBLIC_PLAUSIBLE_ANALYTICS_ORIGIN=https://analytics.azzamo.net
# Message board (Lightning / LNbits) — backend
MESSAGE_PRICE_SATS=1000
LNBITS_API_KEY=
LNBITS_WEBHOOK_SECRET=
LNBITS_URL=https://legend.lnbits.com
# Public URL that LNbits can POST webhooks to (usually your site origin so /api/messages/webhook hits the API)
WEBHOOK_BASE_URL=http://localhost:3000
# Optional: lnaddress or LNURL-pay string for “Zap BBE” when the message has no pubkey
BOARD_ZAP_LN_ADDRESS=
# Optional: hex pubkey for njump fallback when BOARD_ZAP_LN_ADDRESS is unset
BOARD_ZAP_PUBKEY=