chore: consolidate .env.example to docker folder only
- Remove root .env.example (now only in docker/ folder) - Update .gitignore to not track root .env.example - Keep docker/.env.example as single source of truth
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
# ===========================================
|
||||
# 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
|
||||
|
||||
# ===========================================
|
||||
# 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
|
||||
@@ -36,8 +36,6 @@ yarn-error.log*
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
# Keep .env.example tracked
|
||||
!.env.example
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
# - PostgreSQL database (persistent storage)
|
||||
# - Caddy reverse proxy with automatic SSL
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
# ============================================
|
||||
# PostgreSQL Database
|
||||
@@ -62,14 +60,6 @@ services:
|
||||
# Admin emails
|
||||
ADMIN_EMAILS: ${ADMIN_EMAILS}
|
||||
|
||||
# S3 Storage configuration
|
||||
STORAGE_ENDPOINT: ${STORAGE_ENDPOINT}
|
||||
STORAGE_REGION: ${STORAGE_REGION:-us-east-1}
|
||||
STORAGE_BUCKET: ${STORAGE_BUCKET}
|
||||
STORAGE_ACCESS_KEY: ${STORAGE_ACCESS_KEY}
|
||||
STORAGE_SECRET_KEY: ${STORAGE_SECRET_KEY}
|
||||
STORAGE_PUBLIC_BASE_URL: ${STORAGE_PUBLIC_BASE_URL}
|
||||
|
||||
# Optional settings
|
||||
BOT_MAX_PER_USER: ${BOT_MAX_PER_USER:-5}
|
||||
|
||||
|
||||
@@ -24,19 +24,6 @@ DB_USER=synapsis
|
||||
DB_PASSWORD=your-secure-password-here
|
||||
DB_NAME=synapsis
|
||||
|
||||
# ===========================================
|
||||
# OPTIONAL: S3-Compatible Storage
|
||||
# ===========================================
|
||||
# Only needed for image uploads. You can run Synapsis without these
|
||||
# and add them later. Supports AWS S3, MinIO, Wasabi, Backblaze B2, 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
|
||||
# ===========================================
|
||||
@@ -47,13 +34,3 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user