Repository navigation
docs(self-hosted): document the hardened all-in-one image - #778
Conversation
getlago/lago#852 moves the all-in-one image to hardened Wolfi bases: nonroot, PostgreSQL 18 and Valkey, data kept in /data, and no more lago-pdf started through the Docker socket. - Mount a volume in the one-click command, so the data survives. - Say what the image runs, and that it is for testing and staging. - Show how to run lago-gotenberg next to it for PDFs. - Add the one-time chown for volumes from earlier images.
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Changelog triage — changelog-worthyThis documents changed product behaviour for self-hosted users: a new hardened all-in-one image (Wolfi base, nonroot user), PostgreSQL 18 + Valkey replacing PostgreSQL 17 + Redis, persistent A writing run would use:
Flagging as thin: this PR's own note says "merge with the Lago release that ships getlago/lago#852, not before." That release isn't confirmed shipped yet — the changelog entry should not be written/published until it is (announcing unreleased work is out of scope for this skill). A writing run should also pull the actual merged PR for Reply here or invoke the Generated by Claude Code |
The image waits up to 30 s for background jobs to go back to the queue on stop. With the Docker default of 10 s, Docker kills every process first.
Why
getlago/lago#852 rebuilds the all-in-one image (
getlago/lago) on hardened Wolfi bases. For people who run it:/data. Before, they stayed in the container and a recreate lost them.lago-pdfthrough a mounted/var/run/docker.sock./datavolume from an earlier image is root-owned, and the new image stops until it is chowned once.The "one-click Docker command" on
guide/lago-self-hosted/docker.mdxis the only page that documents this image.What
In "Run the app with a one-click Docker command":
-v lago_data:/datain the command.docker/README.mdin getlago/lago).ghcr.io/getlago/lago-gotenberg:8.39(the image of the composepdfservice) next to it, with--add-host=host.docker.internal:host-gateway.chownin a<Warning>.Verification
--add-host=host.docker.internal:host-gateway,http://host.docker.internal:3001/healthonlago-gotenberg:8.39returns 200.🤖 Generated with Claude Code