One compose file. Postgres and you.
Answer a few questions and copy the .env. Secrets are generated in your browser and never leave it. Everything else has a sensible default you can change later.
Then
- 1
Clone and configure
Clone the repo, fill in the generated .env below. Three values matter: POSTGRES_PASSWORD, the matching DATABASE_URL, and AUTH_SECRET.
- 2
docker compose up -d
Pulls the published image, ghcr.io/joshhearne/trove-kb:stable, and Postgres. Nothing builds on your server. Migrations run on start. Add --profile vault for the Bitwarden sidecar when you are ready for it.
- 3
Create the first administrator
The first visit to APP_URL opens a one-time setup screen. No default password, nothing to rotate.
- 4
Put it behind a tunnel
Set APP_BIND=127.0.0.1 and publish the hostname through cloudflared, Caddy, or nginx. APP_URL must be the address people actually type.
- 5
Let it update itself
sudo updater/install-updater.sh installs the host updater, a systemd timer that never runs as root. Then pick Production under Admin → System health: each release installs at the hour you choose, after a database backup, and rolls back if it does not come up.
