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:
Christomatt
2026-02-01 18:37:32 +01:00
parent 2a4748441b
commit bdb05a95f6
4 changed files with 0 additions and 71 deletions
-36
View File
@@ -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
-2
View File
@@ -36,8 +36,6 @@ yarn-error.log*
.env.development.local .env.development.local
.env.test.local .env.test.local
.env.production.local .env.production.local
# Keep .env.example tracked
!.env.example
# vercel # vercel
.vercel .vercel
-10
View File
@@ -11,8 +11,6 @@
# - PostgreSQL database (persistent storage) # - PostgreSQL database (persistent storage)
# - Caddy reverse proxy with automatic SSL # - Caddy reverse proxy with automatic SSL
version: "3.8"
services: services:
# ============================================ # ============================================
# PostgreSQL Database # PostgreSQL Database
@@ -62,14 +60,6 @@ services:
# Admin emails # Admin emails
ADMIN_EMAILS: ${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 # Optional settings
BOT_MAX_PER_USER: ${BOT_MAX_PER_USER:-5} BOT_MAX_PER_USER: ${BOT_MAX_PER_USER:-5}
-23
View File
@@ -24,19 +24,6 @@ DB_USER=synapsis
DB_PASSWORD=your-secure-password-here DB_PASSWORD=your-secure-password-here
DB_NAME=synapsis 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 # OPTIONAL: General Settings
# =========================================== # ===========================================
@@ -47,13 +34,3 @@ PORT=auto
# Maximum AI bots per user (default: 5) # Maximum AI bots per user (default: 5)
# BOT_MAX_PER_USER=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