The Docker image serves the web vault, with invites, log codes and backups built in
Self-hosting needs one container and one HTTPS name:
- Web vault included. The image serves the web vault next to the API (
OCTAPASS_WEB_DIR, set in the image), with a strict content security policy (this origin only, pluswasm-unsafe-evalfor the crypto core) and cross-origin isolation. The web vault always connects to the server it came from. - Invites from the configuration.
OCTAPASS_INVITESlists emails that may sign up whileOCTAPASS_SIGNUPS=invite. They’re invited at every start until their account exists. - Sign-up codes without SMTP.
OCTAPASS_EMAIL_TO_LOG=truewrites email subjects, including the sign-up code, to the server log for the operator to read. Codes never go back to the browser. - Backups.
OCTAPASS_BACKUP_DIRturns on a daily online SQLite backup (database, server secrets and attachments, keeping 14).octapass-server admin backupandadmin restoredo the same by hand. - Health check without a shell:
octapass-server healthcheck.
deploy/octap.app/ is a complete Docker Compose setup using all of it. See Run with Docker and Backups.