-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (24 loc) · 1.2 KB
/
Copy path.env.example
File metadata and controls
28 lines (24 loc) · 1.2 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
# --- Database -----------------------------------------------------------
# Local file (default). Point at a Postgres or Turso URL for a hosted board.
TSBB_DATABASE_URL=file:./data/tsbb.db
# TSBB_DATABASE_URL=postgres://tsbb:password@localhost:5432/tsbb?sslmode=require
# TSBB_DATABASE_URL=libsql://your-board.turso.io
# TSBB_DATABASE_AUTH_TOKEN=
# --- Board --------------------------------------------------------------
TSBB_BASE_URL=http://localhost:3000
TSBB_PORT=3000
TSBB_SESSION_SECRET=change-me-to-32-random-bytes
# --- Mail ---------------------------------------------------------------
# transport: resend | smtp | console
TSBB_MAIL_TRANSPORT=console
TSBB_MAIL_FROM=board@example.com
# RESEND_API_KEY=
# SMTP_URL=smtp://user:pass@host:587
# --- Uploads ------------------------------------------------------------
# Avatars are stored in the database, so there is nothing to configure and
# nothing to back up separately.
# --- Ads (CrawlProof) ---------------------------------------------------
# The ads plugin is enabled by default. Set your slot id from
# https://crawlproof.com/ads/slots — new slots are created INACTIVE and must be
# activated there before they serve anything.
TSBB_CRAWLPROOF_SLOT=