Quick Start¶
The repository includes a Compose example for the published multi-architecture image.
Prerequisites¶
- Linux on
amd64orarm64 - Docker Engine with Docker Compose
- A running Caddy 2 installation, or a Caddy installation that will be connected later
- A private network path from CaddyBuddy to the Caddy Admin API
Start CaddyBuddy¶
-
Clone the repository:
-
Generate a strong session secret:
-
Ensure the paths used by the Compose example exist:
-
Start the application:
The example file defaults
CADDYBUDDY_VERSIONto an old pinned tag when unset, so set it explicitly to pull the current image.Generate
CB_SECRET_KEYonce and save it securely for future starts. Reuse it with the existingdocker/datadirectory: by default it also protects password hashes and TOTP secrets, so changing it can prevent existing users from signing in. -
Open
http://127.0.0.1:8000.
Complete the first run¶
An empty database opens the account setup screen. Create the admin account with a password containing at least eight characters, uppercase and lowercase letters, a digit, and a special character.
The onboarding wizard then:
- identifies where Caddy runs;
- chooses whether to import an existing configuration or start from the baseline;
- verifies Admin API and file access;
- shows the takeover summary before execution.
Continue with First Run for the onboarding details.
Verify the service¶
/health confirms that the web process is running. /ready also requires completed onboarding and a reachable Caddy Admin API.