Web UI for managing Caddy reverse proxy - rules, SSL certificates, snippets. Built with Claude AI.
10K+
π Lightweight web UI for managing Caddy reverse proxy
Wildcard SSL β’ Docker Auto-Discovery β’ One-click rule creation
Dashboard β backend status, alerts, certificates, quick actions
Proxy Rules β backend status, tags, wildcard certificates
Modern theme in dark mode
π· More screenshotsβ β rule editor, certificates, Docker discovery, logs, settings; Modern and Classic themes
| Feature | Description |
|---|---|
| π Dashboard | System overview, stats, alerts, backend status (running / stopped / reachable), quick actions |
| π Proxy Rules | Visual editor for reverse proxy rules, container picker |
| π₯ Caddyfile Import | Import existing site blocks (lossless, with backup and rollback) |
| π Wildcard SSL | Manage wildcard certificates with DNS challenge |
| βοΈ Snippets | Cloudflare DNS, security headers, rate limiting |
| π Certificates | SSL overview with expiration warnings, bulk renewal |
| π Logs | Access log of requests per rule (status, latency, client) with 24 h stats, plus parsed Caddy logs with level filter and search |
| π₯ Multi-User | Role-based access (Admin, Editor, Viewer) |
| πΎ Backup | Full config backup & restore |
| π Internal-only | Restrict sites to internal network only |
| π¨ Themes | Classic or Modern (light/dark, accent colours); works on phones and tablets |
| π i18n | English, Czech & Korean |
| π Templates | 17+ pre-configured service templates |
| π³ Docker Auto-Discovery | Containers per Docker host, paired with rules by host IP + published port, one-click rule creation |
| π§© Modules | Extend CPM from the admin UI: Docker (local) and Dockhand (containers on all your Docker hosts) |
docker pull perteus/caddy-ui:latest
docker pull perteus/caddy-ui:3.7.0
version: '3.8'
services:
caddy:
image: serfriz/caddy-cloudflare:latest
container_name: caddy_proxy
environment:
- CF_API_TOKEN=${CF_API_TOKEN}
ports:
- "80:80"
- "443:443"
volumes:
- ./caddy-config:/etc/caddy
- ./caddy-data:/data
cpm:
image: perteus/caddy-ui:3.7.0
container_name: cpm
ports:
- "8501:8501"
environment:
- CONTAINER_NAME=caddy_proxy
- DEFAULT_IP=192.168.1.100
volumes:
- ./caddy-config:/caddy-config
- ./caddy-data:/caddy-data
- /var/run/docker.sock:/var/run/docker.sock
On Synology add privileged: true for Docker socket access.
cpm:
image: perteus/caddy-ui:3.7.0
privileged: true
volumes:
- /volume1/docker/caddy-config:/caddy-config
- /volume1/docker/caddy-data:/caddy-data
- /var/run/docker.sock:/var/run/docker.sock
| Variable | Default | Description |
|---|---|---|
PORT | 8501 | HTTP port |
CONTAINER_NAME | caddy | Caddy container name |
DEFAULT_IP | 192.168.1.1 | Default target IP |
THEME | classic | Default UI theme (classic or modern) |
TRUSTED_PROXIES | private,loopback | Reverse proxies whose X-Forwarded-* headers are trusted (none to disable) |
TRUSTED_ORIGINS | - | Extra origins allowed to submit forms, e.g. https://cpm.example.com |
CF_API_TOKEN | - | Cloudflare API token (for wildcard SSL) |
| Version | Notes |
|---|---|
| 3.7.0 | π Access log per rule β requests, status and response times for each rule; Fiber v3 |
| 3.6.0 | β Dockhand module β backend status and discovery for containers on all Docker hosts |
| 3.5.1 | π Security patch β Go 1.26.10, fasthttp, compress, x/crypto (31 known vulnerabilities fixed) |
| 3.5.0 | π§© Modules, backend status for IP rules, discovery per host, host IP detection fix |
| 3.4.1 | π Certificate backups & restore, renewal that really renews, Restart Caddy button |
| 3.4.0 | π¨ Modern theme, Caddyfile import, logs viewer, mobile layout, role enforcement & security hardening |
| 3.3.1 | π Security patch β Go 1.26.4 (CVE-2026-42504, CVE-2026-27145, CVE-2026-42507) |
| 3.3.0 | π i18n refactor β PO/MO format, Korean language, plural support infrastructure |
| 3.2.0 | π³ Docker Auto-Discovery β automatic container detection, multi-host support |
| 3.1.3 | π Security patch β CVE fixes, moved to moby/moby/client |
| 3.1.2 | π Security fixes, CSRF, race condition, path traversal |
| 3.1.1 | π Internal-only restrictions, Go 1.26, multi-platform (amd64/arm64) |
| 3.1.0 | π Wildcard refactor, new architecture |
| 3.0.2 | π Wildcard TLS fix, parser fix, 405 fix |
| 3.0.1 | π Wildcard SSL, migration tools, UI improvements |
| 3.0.0 | π Complete Go rewrite (794MB β 6MB) |
| 2.x | Python version (deprecated) |
/data/cpm-logs/access.log (Caddy data volume, no compose change), rotated by size, optional IP masking/health*), works for wildcard rules tooTRUSTED_PROXIES / TRUSTED_ORIGINS), flash messages in any languageID=IP in the module settings)perteus/caddy-ui:develop (never latest)caddy-config/modules.json (docs/modules.mdβ )192.168.1.10:8080 is matched to the container publishing port 8080 on that host; other targets are checked by connecting to the portghcr.io/tomaszmek/cpm multi-arch image on GitHub Releasesβ Enable and configure extensions in Settings β Modules β no restart, settings are stored in caddy-config/modules.json.
| Module | What it does |
|---|---|
| π³ Docker (local) | Containers from the mounted Docker socket. Set Docker host IP to your NAS address. |
| β Dockhand | Containers of all Dockhandβ environments (local and remote hosts via Hawser). Dockhand URL + API token; host IPs from each environment's Public IP. |
CPM then shows for every proxy rule whether its backend container is running (with container name and host), or whether the target port responds. Docs: docs/modules.mdβ
perteus/caddy-ui:develop (newest) and perteus/caddy-ui:develop-<commit> are built from the development branch on every change β for testing only, never tagged latest.
MIT License
CPM - Caddy Proxy Manager
Made with β€οΈ for home labs
Content type
Image
Digest
sha256:d3c0f2b4cβ¦
Size
7.3 MB
Last updated
11 days ago
docker pull perteus/caddy-ui