Files
Synapsis/.env.example
T
AskIt b9316552c2 feat(db,admin): Add logo URL support and refactor bot schema with owner relationships
- Add logo_url column to nodes table for custom branding
- Refactor bots table to use owner_id foreign key relationship with users
- Add is_bot and bot_owner_id columns to users table for bot account tracking
- Add bot_id foreign key to posts table for bot-generated content tracking
- Create database indexes on owner_id, bot_id, is_bot, and bot_owner_id for query performance
- Remove bot handle, bio, avatar_url, and cryptographic keys from bots table (moved to user accounts)
- Update bot_content_sources schema and remove fetch_interval_minutes column
- Fix bot_content_items foreign key constraint with set null on delete
- Remove hardcoded NODE_NAME and NODE_DESCRIPTION from environment configuration
- Update admin panel, bot settings, and layout components to support new schema
- Add AccentColorContext and ToastContext for improved UI state management
- Update PostCard, Sidebar, RightSidebar, and LayoutWrapper components for context integration
2026-01-25 20:15:35 +01:00

30 lines
873 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
# 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
# BOT_MAX_PER_USER=5