Files
Synapsis/.env.example
T
cyph3rasi 60f7dba46c
CI / smoke (push) Has been cancelled
Migrate Synapsis to embedded Turso
2026-07-14 15:50:12 -07:00

28 lines
925 B
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
# 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