From bdb05a95f6dcc917f87e4c3eb05d64eeb37506c3 Mon Sep 17 00:00:00 2001 From: Christomatt Date: Sun, 1 Feb 2026 18:37:32 +0100 Subject: [PATCH] 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 --- .env.example | 36 ------------------------------------ .gitignore | 2 -- docker-compose.yml | 10 ---------- docker/.env.example | 23 ----------------------- 4 files changed, 71 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index f96d984..0000000 --- a/.env.example +++ /dev/null @@ -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 diff --git a/.gitignore b/.gitignore index e28ffc1..55ad5c3 100644 --- a/.gitignore +++ b/.gitignore @@ -36,8 +36,6 @@ yarn-error.log* .env.development.local .env.test.local .env.production.local -# Keep .env.example tracked -!.env.example # vercel .vercel diff --git a/docker-compose.yml b/docker-compose.yml index 8b6dae9..c8ea447 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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} diff --git a/docker/.env.example b/docker/.env.example index e9b694b..f96d984 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -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