Meet DockRouterYour containers. A hostname. A clear path to HTTPS.InstallationRun a Docker container or build one native Go binary.Labels & discoveryKeep routing close to the application it belongs to.Automatic TLSA secure first connection, with a little less certificate administration.Load balancingChoose the right path through your replicas.Security at the edgeExplicit access decisions. Private administration. Trusted proxy boundaries.Dashboard & metricsFollow routes, certificates and requests from the same router.Inside the routerOne process, from incoming connection to container backend.Configuration referenceGlobal environment variables and service-level middleware labels.
Documentation, without the detour.ESC to close
Browse documentation
DOCUMENTATION / OPERATE

Dashboard & metrics

Follow routes, certificates and requests from the same router.

A dashboard in the binary

The admin interface on port 9090 provides access to routes, discovered containers, certificates and router status. Set up private access and credentials before using the interface over a network.

Health and readiness

The /health and /ready endpoints are intentionally unauthenticated for probes. Other admin API paths and /metrics require admin credentials when DR_ADMIN_USER is configured.

terminal
curl http://127.0.0.1:9090/health
curl http://127.0.0.1:9090/ready

Prometheus metrics

Scrape /metrics to observe request counts, latency, errors, active connections and backend behavior. Configure your monitoring system to authenticate when admin credentials are enabled.

terminal
curl -u admin http://127.0.0.1:9090/metrics
MetricWhat it describes
dockrouter_http_requests_totalTotal requests
dockrouter_http_request_duration_secondsRequest latency histogram
dockrouter_http_errors_totalResponses with status 400 or higher
dockrouter_active_connectionsActive backend connections
dockrouter_routes_totalActive routes

Inspect the admin API

The dashboard uses the same REST endpoints and an event stream that refreshes route, container and certificate state without polling.

EndpointPurpose
GET /api/v1/routesRoutes and backends
GET /api/v1/containersDiscovered containers
GET /api/v1/certificatesCertificate state
GET /api/v1/statusRouter status
GET /api/v1/configCurrent configuration
GET /api/v1/metricsJSON metrics
GET /api/v1/eventsServer-sent events