- Add comprehensive root README with badges, architecture diagram, and setup guide - Update backend README with security middlewares and endpoint documentation - Update frontend README with design system and page structure - Update seeder-api README with generated data and credentials - Add internal module READMEs (middleware, handlers, components) - Document Clean Architecture layers and request flow - Add environment variables reference table
22 lines
489 B
TypeScript
22 lines
489 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Use standalone output for Docker (smaller image)
|
|
output: "standalone",
|
|
|
|
// Performance optimizations
|
|
poweredByHeader: false, // Remove X-Powered-By header (security)
|
|
compress: true, // Enable gzip compression
|
|
|
|
// Optional: Configure allowed image domains
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "**",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|