Chapter
Administration
Running Clipr yourself: install, configure, update, back up and monitor.
Everything you need to run Clipr yourself: installation, configuration, updates, backups and monitoring.
Clipr runs as a small group of Docker containers on a machine that is always on – a NAS, a home server or a rented server. Almost every task is covered by the management tool cliprctl in the scripts/ folder.
Architecture
flowchart TB
B["Browser / app"] -- HTTPS --> C["Caddy<br/>TLS, routing"]
C --> A["app<br/>Clipr"]
C -. optional .-> W["wiki<br/>this wiki"]
W -. check sign-in .-> A
A --- D[("clipr-data<br/>encrypted")]
W --- WD[("wiki-data")]
A -. optional .-> R["imap-relay<br/>Proton Bridge"]
| Container | Purpose | Data |
|---|---|---|
caddy |
Accepts all connections, takes care of HTTPS certificates and forwards to the services. | caddy-data (certificates) |
app |
Clipr itself: interface, ticket recognition, mail retrieval, accounts. | clipr-data (all encrypted) |
wiki |
Optional: this wiki, on its own hostname. | wiki-data (local changes, history) |
imap-relay |
Optional: bridge to a Proton Mail Bridge on the same machine. | – |
In this order
- Installation – requirements and first setup with
cliprctl setup - Configuration – every
.envsetting explained - Deployment and updates – start, partially redeploy, update
- Backups – back up, restore, keep the key safe
- Health and monitoring –
cliprctl health, logs, monitoring
Also: Accounts and sign-in, Mailboxes and Proton Mail, Security, Running the wiki, Troubleshooting and the cliprctl command reference.
Most important first: the key CLIPR_SECRET_KEY encrypts all data. Keep it separate from the server, for example in your password manager. Without it no backup can be opened again.
In this chapter
- PageInstallationRequirements and first setup with cliprctl setup.
- PageConfiguration (.env)Every .env setting explained, with defaults.
- PageDeployment and updatesStart, partially redeploy and update.
- PageBackupsBack up, restore and keep the key safe.
- PageHealth and monitoringCheck health, read logs, set up monitoring.
- PageAccounts and sign-inCreate accounts, registration, roles and two-factor requirement.
- PageMailboxes and Proton MailMailboxes for fetching, own mail servers and Proton Mail Bridge.
- PageSecuritySecurity model, single sign-on, key protection and checklist.
- PageRunning the wikiRun and edit this wiki as a separate container.
- Pagecliprctl command referenceAll commands of the management tool.
- PageTroubleshootingCommon messages and how to solve them.