Repository navigation
docs(pro): restore media into /opt/dojo/media for dojo-compose-cli installs - #16908
Open
stevewallone wants to merge 1 commit into
Open
stevewallone wants to merge 1 commit into
stevewallone wants to merge 1 commit into
Conversation
…stalls Step 5 of the self-hosted Pro migration guide only showed restoring the media archive into the named Docker volume defectdojo_media, which is how open source stores media. A Pro install made with dojo-compose-cli bind-mounts /opt/dojo/media from the host instead, owned by uid 1001, so following the example left the files where Pro never reads them. Lead the Compose example with the /opt/dojo/media restore and chown, note that /opt/dojo is the default install directory, and keep the volume command for deployments that use one. Same change in the seven translations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Description
In Migrating from Open Source to Self-Hosted DefectDojo Pro, the Compose example in Step 5 extracts the media archive into the named Docker volume
defectdojo_media. That volume is how open source stores media. A Pro deployment installed with dojo-compose-cli doesn't use it: it bind-mounts/opt/dojo/mediafrom the host, owned by uid 1001, the user the application containers run as. Anyone following the example ends up with uploaded files Pro never reads, and no error appears.This PR:
/opt/dojo/media, thenchown -R 1001:1001, with a note that/opt/dojois the default install directorydefectdojo_mediavolumeThe Kubernetes tab and the cloud version of the page are unchanged.
This overlaps #16502, which edits the same eight files. The change applies cleanly on top of #16502's current head, so whichever merges second needs only a trivial rebase.
Test results
Docs-only. Built the site with Hugo extended 0.153.5 and the production config, as CI does, with no errors. Checked the rendered Step 5 in English (Compose tab) and German.
Documentation
This PR is the documentation change.
🤖 Generated with Claude Code