fix: COPY init.sql into DB image, remove Next.js basePath for Traefik prefix stripping

This commit is contained in:
Monarch055
2026-06-11 09:43:16 +07:00
parent 7e373a28a1
commit 42f06c1128
5 changed files with 20 additions and 13 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
basePath: '/sistem-km-next',
/* config options here */
// basePath removed: Coolify's Traefik strips the /sistem-km-next prefix before
// forwarding to this container, so Next.js must respond at root /.
// The Traefik path /sistem-km-next -> container / mapping handles routing.
};
export default nextConfig;