# Dealspace Environment Configuration # Copy to /opt/dealspace/.env and fill in values # ============================================================================= # Core # ============================================================================= # 32 bytes hex — NEVER CHANGE after data is written! # Generate with: openssl rand -hex 32 MASTER_KEY= # Database path (SQLite with FTS5) DB_PATH=/opt/dealspace/data/dealspace.db # Object store path (encrypted files) STORE_PATH=/opt/dealspace/store # HTTP port PORT=8080 # Environment: development | production ENV=production # ============================================================================= # Auth # ============================================================================= # Session token TTL (hours) SESSION_TTL_HOURS=1 # Refresh token TTL (days) REFRESH_TTL_DAYS=7 # ============================================================================= # Seeding # ============================================================================= # Set to true on first run to seed demo data, then remove SEED_DEMO=false # ============================================================================= # Email (Stalwart SMTP at mail.jongsma.me) # ============================================================================= SMTP_HOST=mail.jongsma.me SMTP_PORT=587 SMTP_USER= SMTP_PASS= SMTP_FROM=noreply@muskepo.com # ============================================================================= # AI (Fireworks — zero retention, FIPS compliant) # ============================================================================= FIREWORKS_API_KEY= # ============================================================================= # Monitoring # ============================================================================= # ntfy notifications for alerts NTFY_URL=https://ntfy.inou.com/inou-alerts NTFY_TOKEN=tk_k120jegay3lugeqbr9fmpuxdqmzx5