- Added .env.development to .gitignore for better environment management. - Introduced new dev script in package.json for streamlined application development. - Updated Prisma migration commands in docker-entrypoint.sh for improved schema handling. - Enhanced logging configuration in logging.module.ts to support pretty logs based on environment. - Refactored app.config.ts to prioritize environment file loading for better configuration management. - Removed outdated test files and configurations to clean up the project structure.
20 lines
759 B
Plaintext
20 lines
759 B
Plaintext
# =============================================================================
|
|
# Customer Portal Frontend (Next.js) - Production Environment
|
|
# =============================================================================
|
|
# Copy to portal-frontend.env
|
|
# Note: NEXT_PUBLIC_* variables are embedded at BUILD time
|
|
# =============================================================================
|
|
|
|
NODE_ENV=production
|
|
|
|
# Application identity shown in UI
|
|
NEXT_PUBLIC_APP_NAME=Assist Solutions Portal
|
|
NEXT_PUBLIC_APP_VERSION=1.0.0
|
|
|
|
# API endpoint - use /api for same-origin requests behind nginx proxy
|
|
# In production, nginx proxies /api/* to the BFF container
|
|
NEXT_PUBLIC_API_BASE=/api
|
|
|
|
# Disable React Query devtools in production
|
|
NEXT_PUBLIC_ENABLE_DEVTOOLS=false
|