Complete Docker migration with Next.js 15 and cleaned design
- Migrated from Express.js to Next.js 15 with TypeScript - Added Docker Compose v2 with multi-stage builds - Implemented Docker Bake support for improved builds - Created professional component structure with Tailwind CSS - Added enhanced visual design with glass morphism effects - Improved responsive layout and better UX flow - Updated all dependencies and configurations - Added proper TypeScript types and modern practices - Created development scripts for easy container management - Cleaned up excessive animations for better user experience
This commit is contained in:
23
.env.example
23
.env.example
@@ -1,12 +1,21 @@
|
||||
# Environment Configuration for KidsAI Explorer
|
||||
# Copy this file to .env and add your API tokens for better performance
|
||||
# Copy this file to .env and add your API tokens
|
||||
|
||||
# Hugging Face API Token (Optional - improves rate limits)
|
||||
# Docker Bake Configuration for better build performance
|
||||
COMPOSE_BAKE=true
|
||||
|
||||
# OpenAI API Key (Recommended for best experience)
|
||||
# Get your API key at: https://platform.openai.com/api-keys
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
|
||||
# Hugging Face API Token (Optional - improves rate limits for fallback)
|
||||
# Get your free token at: https://huggingface.co/settings/tokens
|
||||
# HUGGING_FACE_TOKEN=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
|
||||
HUGGING_FACE_TOKEN=your_hugging_face_token_here
|
||||
|
||||
# Server Port (default: 3002)
|
||||
# PORT=3002
|
||||
# Optional: If using Prisma with PostgreSQL database
|
||||
# DB_PASSWORD=your_secure_password_here
|
||||
# DATABASE_URL="postgresql://kidsai:${DB_PASSWORD}@database:5432/kidsai?schema=public"
|
||||
|
||||
# Environment Mode
|
||||
# NODE_ENV=production
|
||||
# Next.js Configuration
|
||||
NODE_ENV=development
|
||||
PORT=3444
|
||||
|
||||
Reference in New Issue
Block a user