Proxy hosts
Forward a domain to any service on your network, with websockets, headers and snippets per host.
Reverse proxy management for Caddy, made for homelabs
Manage reverse proxies, redirects, file servers and HTML websites from a web UI, with free SSL certificates handled by Caddy.
Forward a domain to any service on your network, with websockets, headers and snippets per host.
Send a domain elsewhere, return an error code, or serve static files and HTML websites from a folder.
Caddy requests and renews certificates on its own. Wildcards work through DNS plugins such as Cloudflare.
Reusable headers and snippets, plus CrowdSec, rate limiting, GeoIP and DNS providers built in.
Every config version is kept with a diff. Import an existing Caddyfile and roll back in one click.
Follow system and access logs in real time, see which hosts are up, and give every user an account.
CPM talks to Caddy through its Admin API, stores everything in SQLite and generates a Caddyfile that it pushes to Caddy.
Save one of these as docker-compose.yml, run docker compose up -d and open http://<host>:8080 to create the admin account.
CPM and Caddy in one container with all plugins built in. The simplest setup and the right choice if you start fresh.
services:
cpm:
image: ghcr.io/r0gger/cpm:latest
container_name: cpm
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
- "8080:8080"
volumes:
- cpm_data:/data
- caddy_config:/config
- caddy_etc:/etc/caddy
- file_server:/file_server
volumes:
cpm_data:
caddy_config:
caddy_etc:
file_server:
CPM only, for when Caddy already runs via systemd or in another container. Set CPM_CADDY_ADMIN_URL to the IP of the host, not localhost.
services:
cpm:
image: ghcr.io/r0gger/cpm-app:latest
container_name: cpm
restart: unless-stopped
ports:
- "8080:8080"
- "9514:9514"
environment:
CPM_CADDY_ADMIN_URL: "http://192.168.1.10:2019" # IP of the host itself
CPM_LOG_LISTEN: ":9514"
volumes:
- cpm_data:/data
- /etc/caddy:/etc/caddy
volumes:
cpm_data: