HUB
Sign inSign up

stepaniah/port-light

By stepaniah

•Updated 8 days ago

Host port occupancy from listeners, Docker mappings, and Compose declarations.

Image
Networking
Web servers
Monitoring & observability
0

10K+

stepaniah/port-light repository overview

Port-Light

⁠Port-Light

A self-hosted dashboard for host port occupancy. It shows host listeners, Docker port mappings, and Compose declarations.

License: MIT Version Docker Pulls Unraid Community Apps

English⁠ · 简体中文⁠

Quick start⁠ · Documentation⁠ · Configuration⁠ · Sponsors⁠ · Support⁠

Port-Light dashboard showing two adaptive host boards

Sponsored by NodeFinch⁠ — keep an eye on the servers you run · Become a sponsor⁠

⁠Features

  • Search by port, service, project, process, or bind address; group Compose ports and collapse contiguous ranges.
  • Detect Compose conflicts, generate replacement mappings, manage expiring reservations, and enforce named port-range rules (port management⁠).
  • View up to 32 peers in waterfall or tab layouts; each machine runs its own instance.
  • Run local troubleshooting checks and saved change reports without a model key, with optional BYOK AI assistance (troubleshooting & BYOK⁠).
  • Connect AI coding tools and scripts through the MCP server, dependency-free CLI, agent skill, HTTP API, webhooks, and Prometheus metrics (AI setup⁠, CLI⁠, API & MCP⁠).
  • Configure seven UI languages, 22 built-in themes, local SQLite history, and Doctor diagnostics with zero telemetry (configuration⁠).
StateMeaning
In useA process is listening or a running container publishes the port
ConfiguredDeclared in Compose or a manual entry, with no listener detected
FreeAvailable within the current scan scope (shown when searching for a port)

⁠Quick start

Image: stepaniah/port-light⁠ (linux/amd64, linux/arm64). Also published to GHCR on tagged releases (ghcr.io/stepaniah/port-light). Pin a version tag or digest for reproducible deployments.

services:
  port-light:
    image: stepaniah/port-light:v0.9.3
    container_name: port-light
    restart: unless-stopped
    ports:
      - "2100:2100"
    volumes:
      - /path/to/your/compose-stacks:/compose:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /proc:/host/proc:ro
      - ./data:/data
    environment:
      COMPOSE_SCAN_DIR: /compose
mkdir -p data && docker compose up -d

Open http://localhost:2100.

Mounting docker.sock (even :ro) grants Docker API write access — use a socket proxy⁠ to restrict it, and set AUTH_USER / AUTH_PASSWORD for UI/API Basic Auth (access control⁠ · SECURITY.md⁠). On hosts without Docker, set PORT_LIGHT_SCANNERS=listen,compose. Failed or stale scans warn and suspend allocation — see troubleshooting⁠.

⁠Unraid

Install from Unraid Community Applications⁠ (Apps → search port-light → StepaniaH's Repository). See the Unraid guide⁠ for paths, auth, and upgrades.

⁠Documentation

Browse the full Documentation hub⁠ or jump straight to a guide:

⁠Sponsors

NodeFinch ⁠ NodeFinch⁠ — Keep an eye on the servers you run.
Shows your servers' online status, performance history, network diagnostics, traffic, and renewals on iPhone. No NodeFinch account required.
Website⁠ · App Store⁠

Interested in sponsoring Port-Light and showcasing your product or service here? Become a sponsor⁠.

⁠Support Port-Light

Every Port-Light feature stays free and unlocked under MIT with zero telemetry. If Port-Light saves you time across your homelab or fleet, you can back independent maintenance with an optional one-time offline Supporter Key⁠ (verified locally via Ed25519 with zero outbound requests) that lights a theme-matched metallic Harbor Beacon across all 22 built-in themes, or buy a coffee on Ko-fi⁠.

⁠License

MIT⁠ © 2026 StepaniaH

Changelog⁠ · Security⁠ · Contributing⁠ · Support⁠ · Ko-fi⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:2f9fe7a5c…
Size
61.7 MB
Last updated
8 days ago
docker pull stepaniah/port-light:latest