Files
docker_dashboard/frontend/src/app/page.tsx

18 lines
506 B
TypeScript

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}
/>
);
}