Skip to content

Web Dashboard

ductwork ships with a web dashboard that lets you inspect your pipelines, steps, jobs, and processes from the browser.

Ductwork Web Dashboard

The dashboard is a mountable Rails engine. If you ran the rails generator, it has already added the mount point to your config/routes.rb for you:

config/routes.rb
mount Ductwork::Engine, at: "/ductwork"

If you need to mount it manually, or want to serve it from a different path, just adjust the at: option:

config/routes.rb
mount Ductwork::Engine, at: "/admin/ductwork"

The dashboard exposes details about your pipelines and the data flowing through them, so you should not leave it open to the public. We strongly recommend wrapping the mount point in some form of authentication.

For example, using devise for HTTP basic auth:

config/routes.rb
authenticate :user, ->(user) { user.admin? } do
mount Ductwork::Engine, at: "/ductwork"
end

If you use Devise, the authenticate route helper shown above restricts the engine to signed-in admins. Any constraint or authentication scheme that works with a mounted engine will work here. What matters is that unauthenticated visitors can’t reach the dashboard.

For now the dashboard is view-only and there’s no way to change data from the UI. You can’t pause, resume, or revive pipelines, or act on your data in any other way through the dashboard. That makes it safe to share with anyone who needs to see your pipelines, since they can’t change anything.