Professional portfolio website for Oyu Intelligence LLC - AI Automation & Digital Solutions.
Visit Oyu Intelligence.
Oyu Intelligence LLC is a Mongolian Start-Up company dedicated to transforming businesses through innovative digital solutions. We specialize in:
- AI Automation - Intelligent solutions for business process automation
- Mobile App Development - Cross-platform iOS and Android applications
- Website Design & Development - Modern, responsive web solutions
- Social Media Development - Strategic digital marketing solutions
This portfolio is built with Next.js and modern web technologies. It requires Node.js v18.17+.
1. Install dependencies
npm install2. Run development server
npm run dev3. Build for production
npm run build
npm startWe provide comprehensive Docker support for both development and production environments.
- Docker Desktop installed and running
- Git for version control
Development Environment:
# Build and run development container
docker-compose up magic-portfolio-dev
# Or use the helper script (Linux/macOS)
./docker-scripts/build.sh dev
./docker-scripts/run.sh dev
# Or use the helper script (Windows)
docker-scripts\build.bat devProduction Environment:
# Build and run production container
docker-compose --profile production up magic-portfolio-prod
# Or use the helper script (Linux/macOS)
./docker-scripts/build.sh prod
./docker-scripts/run.sh prodBuilding Images:
# Development image
docker build -f Dockerfile.dev -t magic-portfolio:dev .
# Production image
docker build -f Dockerfile -t magic-portfolio:prod .Running Containers:
# Development (with hot reload)
docker run -p 3000:3000 -v $(pwd):/app -v /app/node_modules magic-portfolio:dev
# Production
docker run -p 3000:3000 magic-portfolio:prodUsing Docker Compose:
# Development
docker-compose up magic-portfolio-dev
# Production
docker-compose --profile production up magic-portfolio-prod
# Run in background
docker-compose up -d magic-portfolio-devWe provide convenient scripts for common Docker operations:
Linux/macOS:
./docker-scripts/build.sh [dev|prod|all]- Build Docker images./docker-scripts/run.sh [dev|prod|compose-dev|compose-prod]- Run containers./docker-scripts/clean.sh [containers|images|all|system]- Cleanup resources
Windows:
docker-scripts\build.bat [dev|prod|all]- Build Docker images
Copy .env.docker to .env.local and customize as needed:
cp .env.docker .env.localKey environment variables:
NODE_ENV- Environment (development/production)PORT- Application port (default: 3000)NEXT_TELEMETRY_DISABLED- Disable Next.js telemetryNEXT_PUBLIC_APP_URL- Application URL for SEO
The application includes health check endpoints:
- HTTP:
GET /api/health- Returns application status - Docker: Built-in health checks for container monitoring
The Docker setup includes several optimizations:
- Multi-stage builds for smaller production images
- Layer caching for faster rebuilds
- Non-root user for security
- Health checks for reliability
- Volume mounting for development hot reload
Common Issues:
-
Docker not running:
# Start Docker Desktop and verify docker info -
Port already in use:
# Use different port docker run -p 3001:3000 magic-portfolio:dev -
Permission issues (Linux/macOS):
# Make scripts executable chmod +x docker-scripts/*.sh
-
Build failures:
# Clean Docker cache docker system prune -f # Rebuild without cache docker build --no-cache -f Dockerfile.dev -t magic-portfolio:dev .
-
Container won't start:
# Check logs docker logs magic-portfolio-dev # Check container status docker ps -a
Performance Issues:
- Ensure Docker Desktop has sufficient resources (4GB+ RAM recommended)
- Enable file sharing for your project directory in Docker Desktop settings
- Use Docker volumes for node_modules to improve performance
Development Hot Reload:
- Ensure volume mounting is working:
-v $(pwd):/app - Check that
WATCHPACK_POLLING=trueis set for Windows/WSL2
- Email: oyu.intelligence@icloud.com
- Phone: 86970213
- Address: Sambuu St 47, CHD - 5 khoroo, Ulaanbaatar 15171
- LinkedIn: Oyu Intelligence
- Instagram: @oyu_intelligence
- Facebook: Oyu.Intelligence
Transforming ideas into digital reality.
