Files
Synapsis/.env.example
T
cyph3rasi b46be5c076 Reconcile the accepted safe federation helper with E2EE integration hardening and complete PIN-based encrypted DMs
Hop-State: A_06FPC0CGS3F7SJG3BGW0YF0
Hop-Proposal: R_06FPC0BK6YEV7XASNM7C908
Hop-Task: T_06FPAWA3279RBMJAR0BHM10
Hop-Attempt: AT_06FPBZWSBFTB9B5YH9JY9QR
2026-07-15 06:40:06 -07:00

33 lines
1.2 KiB
Bash

# Synapsis local development environment
# Copy to .env and adjust values for your machine.
# Required: local database
# Embedded Turso database file. Relative paths resolve from the app directory.
DATABASE_PATH=./data/synapsis.db
# Synapsis' standard local bind port. Override it if this port is already in use.
PORT=43821
# Required: used for sessions, node key encryption, and bot API key encryption
AUTH_SECRET=replace-with-a-long-random-secret
E2EE_RECOVERY_SECRET=replace-with-a-separate-long-random-secret
# Required for admin access. Register with one of these emails locally.
ADMIN_EMAILS=admin@example.com
# Recommended: local node identity
NEXT_PUBLIC_NODE_DOMAIN=localhost:43821
NEXT_PUBLIC_APP_URL=http://localhost:43821
# Recommended: Stuffbox instance offered as the default user-owned media provider.
# Synapsis registers its callback automatically; no Stuffbox client ID is required.
STUFFBOX_URL=https://stuffbox.xyz
# Optional: node metadata shown before a node record exists in the database
# NEXT_PUBLIC_NODE_NAME=Synapsis Local
# NEXT_PUBLIC_NODE_DESCRIPTION=Local development node
# NEXT_PUBLIC_ACCENT_COLOR=#FFFFFF
# Optional: bot limits
# BOT_MAX_PER_USER=5