Skip to content

DevPanel Configuration

The generated setup mounts the panel before application routes:

func setupDevPanel(app *core.App) *devpanel.DevPanel {
panelConfig := config.MustLoadConfig[devpanel.Config]()
panel := devpanel.New(panelConfig)
fiberApp := app.Fiber()
fiberApp.Use(panel.RequestMiddleware())
fiberApp.Use(panel.GlobalGuard())
panel.Mount(fiberApp)
return panel
}
panel := devpanel.New(devpanel.Config{
Enabled: true,
Secret: "strong-token",
Path: "/keel/panel",
})
FieldDefaultPurpose
EnabledtrueEnable or disable the panel
SecretemptyOptional Bearer token for panel access
Path/keel/panelURL prefix for panel routes
  • Disable the panel in production when you do not need it.
  • Use KEEL_PANEL_SECRET and HTTPS whenever the panel is exposed.
  • GlobalGuard() returns 404 for panel routes when the panel is disabled.
  • The panel rate-limits requests at the addon level.