This compose recipes provides Clapshot with a small built-in login form and user manager,
HTWicket — a more secure replacement for the old htadmin demo. Fine for small and simple deployments.
If you have an external identity provider (Authentik, Okta, Keycloak, Kerberos, ...), use the
custom-proxyrecipe instead, and see Advanced Authentication. HTWicket is the minimum, not the recommendation.
cp .env.example .env # the defaults serve at http://127.0.0.1:8080/
docker compose up -dOpen http://127.0.0.1:8080/ — you'll be sent to a login page.
Fish the generated admin password from log (unless you set CLAPSHOT_INITIAL_ADMIN_PASSWORD).
Log in, then create your users in the admin UI at
/htwicket/admin — or by running docker compose exec htwicket htwicket user add <name>.
See the shared guide: ../README.md.
In short: Deploy this directory from the git repo, copy the production block of .env, and Caddy handles Let's Encrypt.
| File | Edit? | Purpose |
|---|---|---|
.env (from .env.example) |
yes | configuration options |
compose.yml |
no | the stack (Caddy, clapshot-web, clapshot-server, htwicket) |
site.conf |
no | nginx configs: client SPA + /api proxy + auth_request (→ htwicket) |
htwicket.toml |
no | HTWicket configs |