Files
cmdb-insight/scripts/generate-session-secret.sh
Bert Hausmans a7f8301196 Add database adapter system, production deployment configs, and new dashboard components
- Add PostgreSQL and SQLite database adapters with factory pattern
- Add migration script for SQLite to PostgreSQL
- Add production Dockerfiles and docker-compose configs
- Add deployment documentation and scripts
- Add BIA sync dashboard and matching service
- Add data completeness configuration and components
- Add new dashboard components (BusinessImportanceComparison, ComplexityDynamics, etc.)
- Update various services and routes
- Remove deprecated management-parameters.json and taxonomy files
2026-01-14 00:38:40 +01:00

10 lines
240 B
Bash
Executable File

#!/bin/bash
# Generate a secure random session secret for production use
echo "Generating secure SESSION_SECRET..."
SECRET=$(openssl rand -hex 32)
echo ""
echo "Add this to your .env.production file:"
echo "SESSION_SECRET=$SECRET"
echo ""