Initial commit: Docker Dashboard with Next.js and Netbox integration
This commit is contained in:
18
frontend/src/app/page.tsx
Normal file
18
frontend/src/app/page.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { getDockerContainers } from "@/lib/netbox";
|
||||
import { ContainerViewer } from "@/components/ContainerViewer";
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export default async function Home() {
|
||||
const groupedContainers = await getDockerContainers();
|
||||
const appTitle = process.env.APP_TITLE || "Docker Inventory";
|
||||
const appLogo = process.env.APP_LOGO || "";
|
||||
|
||||
return (
|
||||
<ContainerViewer
|
||||
groupedContainers={groupedContainers}
|
||||
appTitle={appTitle}
|
||||
appLogo={appLogo}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user