Configure
deploy/.env. In a Compose .env file, write every $ in the password hash as $$. Keep this file out of Git.
Run
- Docker
- systemd
127.0.0.1:8787 with the vault mounted from the host. Change the vault path with BRAIN_VAULT.Add TLS
Put a reverse proxy in front. With Caddy:BRAIN_SECURE_COOKIE=1 once the app is served over HTTPS.
Read-only snapshot on Vercel
deploy/vercel.sh publishes a read-only copy of the vault as a serverless app. It ships a prebuilt index with the deployment, so a new instance does not have to index the vault before it answers.