Repository navigation
docs(contrib): add a Podman Quadlet unit for the container image - #431
Merged
Merged
Conversation
The README covers `podman run` and compose, but not running the image under systemd. The unit runs it as a rootless user service with the hardening compose.yaml applies. It keeps the bearer tokens in an environment file, because an Environment= line would put them in the unit and on podman's command line, and it maps the invoking account onto the image's uid 65532 so the config files and the audit directory need no chown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
contrib/quadlet/bugwarden.container, a rootless Podman Quadlet unit for the published image, with a pointer from the README's Container section.Checked with the Quadlet generator's dry run and by running the rendered
podman runarguments against the 0.7.1 image with the unedited example policy and audit config: 401 without a token, both token scopes served, audit file owned by the invoking user, clean stop. It was not installed under a realsystemctl --usersession.