Files
Synapsis/.env.example
T
2026-02-01 03:24:43 +01:00

59 lines
1.7 KiB
Bash

# ===========================================
# Synapsis Environment Configuration
# ===========================================
# Copy this file to .env and configure your values
# ===========================================
# REQUIRED: Core Settings
# ===========================================
# Your domain name (e.g., synapsis.example.com)
DOMAIN=your-domain.com
# Admin email addresses (comma-separated for multiple)
ADMIN_EMAILS=admin@your-domain.com
# Authentication secret - generate with: openssl rand -hex 32
AUTH_SECRET=your-secret-key-here-minimum-32-characters
# ===========================================
# REQUIRED: Database
# ===========================================
DB_USER=synapsis
DB_PASSWORD=your-secure-password-here
DB_NAME=synapsis
# ===========================================
# REQUIRED: S3-Compatible Storage
# ===========================================
# Supports AWS S3, MinIO, Wasabi, Backblaze B2, Cloudflare R2, etc.
STORAGE_ENDPOINT=https://s3.your-provider.com
STORAGE_REGION=us-east-1
STORAGE_BUCKET=synapsis-uploads
STORAGE_ACCESS_KEY=your-access-key
STORAGE_SECRET_KEY=your-secret-key
STORAGE_PUBLIC_BASE_URL=https://cdn.your-domain.com
# ===========================================
# OPTIONAL: General Settings
# ===========================================
# Application port - 'auto' scans 3000-3020 for first available (recommended)
# Or set a specific port: PORT=3000
PORT=auto
# Maximum AI bots per user (default: 5)
# BOT_MAX_PER_USER=5
# ===========================================
# OPTIONAL: Advanced
# ===========================================
# External Redis URL (if not using the built-in Redis)
# REDIS_URL=redis://redis:6379
# Docker Compose project name
# COMPOSE_PROJECT_NAME=synapsis