ca53cfbc3b
- Add .env.example with comprehensive configuration documentation for database, authentication, storage, and node settings - Update .gitignore to explicitly track .env.example while excluding all .env variants - Add IDE configuration directories (.vscode/, .kiro/) to .gitignore - Remove clear_bots.ts and inspect_bots.ts utility scripts that are no longer needed - Improve environment setup experience for new developers by providing a clear template with all required and optional configuration options
33 lines
1008 B
Bash
33 lines
1008 B
Bash
# ===========================================
|
|
# Synapsis Environment Configuration
|
|
# ===========================================
|
|
# Copy this file to .env and fill in your values
|
|
|
|
# Database (Required)
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/synapsis
|
|
|
|
# Authentication (Required)
|
|
# Generate with: openssl rand -hex 32
|
|
AUTH_SECRET=your-secret-key-here
|
|
|
|
# Node Configuration (Required)
|
|
NEXT_PUBLIC_NODE_DOMAIN=your-domain.com
|
|
NEXT_PUBLIC_NODE_NAME=My Synapsis Node
|
|
NEXT_PUBLIC_NODE_DESCRIPTION=A federated social network node
|
|
|
|
# Admin Users (Required)
|
|
# Comma-separated list of email addresses that have admin access
|
|
ADMIN_EMAILS=admin@example.com
|
|
|
|
# S3-Compatible Storage (Required for media uploads)
|
|
STORAGE_ENDPOINT=https://s3.your-provider.com
|
|
STORAGE_REGION=us-east-1
|
|
STORAGE_BUCKET=synapsis
|
|
STORAGE_ACCESS_KEY=your-access-key
|
|
STORAGE_SECRET_KEY=your-secret-key
|
|
STORAGE_PUBLIC_BASE_URL=https://cdn.your-domain.com
|
|
|
|
# Optional Settings
|
|
# NEXT_PUBLIC_ACCENT_COLOR=#00D4AA
|
|
# BOT_MAX_PER_USER=5
|