Files
Synapsis/.env.example
T
cyph3rasi 848f6f93e0 Make every Synapsis installation register its exact Stuffbox callback automatically, persist the returned public client identity through PKCE, and remove manual operator client setup.
Hop-State: A_06FP9ZHD1XSYW28M9X8V7QR
Hop-Proposal: R_06FP9ZFX5NN6M3YRB1XHX2R
Hop-Task: T_06FP9XCTDAAN1SZZVBD5G5R
Hop-Attempt: AT_06FP9XCTDBN2JFGK1XC6830
2026-07-15 01:56:47 -07:00

32 lines
1.1 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
# 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