navidocs/server/.env.production
Claude 286f254551
[SESSION-5] Add deployment preparation files
Phase 1: Deployment Preparation
- server/.env.production: Production environment with secure secrets
- scripts/backup-database.sh: Automated daily backup script
- deploy-stackcp.sh: Already exists with proper StackCP config

Phase 2: Documentation
- docs/USER_GUIDE.md: Complete user manual (15 pages)
- docs/DEVELOPER.md: Technical documentation with API reference

Phase 3: Pre-Flight
- PRE_DEPLOYMENT_CHECKLIST.md: 27-item deployment checklist

All deployment files ready. Waiting for Session 1 to complete
Session 4 work (integration testing) before final deployment.

Next steps:
1. Wait for Session 1 integration testing complete
2. Create v1.0-production tag
3. Deploy to StackCP with ./deploy-stackcp.sh
2025-11-13 12:58:30 +00:00

35 lines
958 B
Text

# NaviDocs Production Environment
NODE_ENV=production
PORT=8001
# Database
DATABASE_PATH=./navidocs.production.db
# Security
JWT_SECRET=703c353c3aca79c969ea026a4f34b7966189d03af7f7622573bbe7d513da27e89054e57c75f7b23fe022f8bb710470c23c4beb7da1ba0489d44bafaf7e3536ef
SESSION_SECRET=e50a6a1b5727ca8c7f2d89f2a7b46dd740248f800df59ea32105230505dd752900cc6389e2b2a14300e734bec84694fbe1e8f1810e769899e99292c02588dbeb
# File Storage
UPLOAD_DIR=./uploads
MAX_FILE_SIZE=52428800 # 50MB
# Meilisearch
MEILISEARCH_HOST=http://localhost:7700
MEILISEARCH_MASTER_KEY=8b152b3f62a892753f0b1ca9c2c056a1b250a8708ec540a7802e39b3b3623c8f
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=866b18e464195f4049bbcf77eb1ed73bb6c6edd66949a8bb45171f30f517dc9d
# OCR
OCR_LANGUAGE=eng
OCR_MIN_TEXT_THRESHOLD=50
FORCE_OCR_ALL_PAGES=false
# Logging
LOG_LEVEL=info
LOG_FILE=./logs/navidocs.log
# CORS (update with actual domain)
CORS_ORIGIN=https://navidocs.yourdomain.com