mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 20:18:02 +01:00
- Added curl to Dockerfile for health check improvements. - Modified npm install commands to build TypeScript and prune unnecessary packages. - Updated health check command to use curl for better reliability. - Adjusted TypeScript definitions for user-related functions to return more specific response types. - Changed user role options from 'viewer' to 'user' in multiple places for consistency. - Updated package.json dependencies, including downgrading jsonwebtoken types and switching bcrypt to bcryptjs for compatibility. - Added new environment variables for email configuration in the env.template file. - Cleaned up various files by removing unnecessary newlines and ensuring consistent formatting.
34 lines
605 B
Plaintext
34 lines
605 B
Plaintext
# RevampIT CMS API Environment Configuration
|
|
|
|
# Server Configuration
|
|
PORT=3001
|
|
NODE_ENV=development
|
|
|
|
# Database Configuration (PostgreSQL)
|
|
DB_HOST=localhost
|
|
DB_PORT=5433
|
|
DB_NAME=revampit_cms
|
|
DB_USER=postgres
|
|
DB_PASSWORD=postgres
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET=your-super-secret-jwt-key-change-in-production-min-32-chars-long
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# CORS Configuration
|
|
FRONTEND_URL=http://localhost:3000
|
|
|
|
# Email Configuration (Development)
|
|
ETHEREAL_USER=test@example.com
|
|
ETHEREAL_PASS=test
|
|
|
|
# File Upload Configuration
|
|
UPLOAD_DIR=./uploads
|
|
MAX_FILE_SIZE=10485760
|
|
|
|
# Logging Configuration
|
|
LOG_LEVEL=info
|
|
|
|
|
|
|