/** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', reactStrictMode: true, env: { API_URL: process.env.API_URL || 'http://api-gateway:3015', }, async rewrites() { return [ { source: '/api/:path*', destination: `${process.env.API_URL || 'http://api-gateway:3015'}/api/:path*`, }, ]; }, }; export default nextConfig;