Official documentation for Traefik Log Dashboard, built with Fumadocs.
npm install
npm run devOpen http://localhost:3000 to view the documentation.
Set SITE_URL in your environment for canonical URLs, Open Graph metadata, and sitemap host values in production.
npm run build
npm run startdocs/
├── app/
│ ├── (home)/ # Landing page
│ ├── docs/ # Documentation pages
│ └── api/ # API routes (search, etc.)
├── content/docs/ # MDX documentation files
│ ├── index.mdx # Introduction
│ ├── quickstart.mdx # Quick start guide
│ ├── features.mdx # Features overview
│ ├── usage.mdx # Usage guide
│ ├── troubleshooting.mdx # Troubleshooting
│ ├── changelog.mdx # Release notes
│ ├── components/ # Component docs (agent, cli, dashboard)
│ └── configuration/ # Configuration docs (env vars, settings)
├── lib/ # Source configuration
└── public/ # Static assets
Create MDX files in content/docs/:
---
title: Page Title
description: SEO description
icon: IconName # Lucide icon
---
import { Callout } from 'fumadocs-ui/components/callout';
# Content Here
<Callout type="info">
Important note
</Callout>- Callouts:
<Callout type="info|warn|error|success"> - Steps:
<Steps>and<Step> - Tabs:
<Tabs>and<Tab> - Cards:
<Cards>and<Card> - Code blocks:
```language title="filename"
Use Lucide icons in frontmatter:
---
icon: Home
---- Full-text search
- Dark mode
- Mobile responsive
- Mermaid diagrams
- Syntax highlighting
- Auto-generated navigation
- SEO metadata defaults with canonical URLs
- Auto-generated
sitemap.xmlandrobots.txt
Deploy to Vercel, Netlify, or any static hosting:
npm run buildOutput in .next/ directory.
- Start the headless scheduler without opening the UI:
npm run alert-worker(honorsENABLE_BACKGROUND_SCHEDULER; default is on). - Optional cron trigger: POST to
/api/services/trigger-alertswith headerx-cron-secret: $CRON_SECRETwhenCRON_SECRETis set. - Check status at
/api/services/statusto confirm schedulerisRunning,lastRunTime, andrunCount. - Ensure agents are configured (env or DB) so the worker can fetch logs and build snapshots for daily/12h summaries.
# Type checking
npm run types:check
# Build test
npm run build