import Link from "next/link"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; const envVars = [ { name: "DATABASE_URL", desc: "PostgreSQL connection string for scans, users, and monitors.", }, { name: "REDIS_URL", desc: "Redis for scan queue workers (optional on small VPS).", }, { name: "NEXTAUTH_SECRET", desc: "Session encryption secret — rotate after deploy if leaked.", }, { name: "NEXTAUTH_URL", desc: "Public app URL (e.g. http://your-server-ip).", }, { name: "IPINFO_TOKEN", desc: "Optional token for richer geo/IP enrichment.", }, { name: "SCAN_RATE_LIMIT_PER_HOUR", desc: "Per-IP scan throttle (default from .env.example).", }, ]; export default function SettingsPage() { return (

Settings

Server configuration lives in environment variables. Theme toggle is in the header.

{envVars.map((v) => ( {v.name} .env {v.desc} ))}
Account & monitoring
); }