Repository navigation
docs: brief writeup for env-vars on webserver in Dockerfile - #10906
Merged
Merged
Conversation
Mates with #10900 nit, fix: spacing 2 -> 1
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
SchrodingersGat
requested changes
Nov 25, 2025
Member
|
That is because you are building the docs with the wrong command - see the build-docs task https://docs.inventree.org/en/stable/start/invoke/?h=build-docs#available-tasks |
Contributor
Author
Should I file a docs bug against this? |
SchrodingersGat
approved these changes
Nov 26, 2025
Member
|
@kquinsland thanks for the contribution :) |
Contributor
Author
Thanks for this bit of software :). It + the label maker print plugin is really helping me finally get my assorted Ali Express inventory in a manageable state :). |
CapnKernel
pushed a commit
to CapnKernel/InvenTree
that referenced
this pull request
Dec 14, 2025
…e#10906) * docs: brief writeup for env-vars on webserver in Dockerfile Mates with inventree#10900 nit, fix: spacing 2 -> 1 * docs: relocate And simplify --------- Co-authored-by: Karl Quinsland <[email protected]>
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.
Mates with #10900 and makes the two variables that govern the bind string a bit easier to discover.
Quick note, I was not able to follow the docs for running
mkdocslocally:❯ mkdocs serve -f docs/mkdocs.yml -a localhost:8080 INFO - Building documentation... INFO - MERMAID2 - Initialization arguments: {} INFO - MERMAID2 - Using specified javascript library: javascripts/mermaid.min.js 'READTHEDOCS' environment variable not found Building for localhost configuration! config.site_url = 'http://localhost:8080/' config.assets_dir = '/assets' Fetching InvenTree release information from api.github.com: Saving release information to 'releases.json' - found 134 releases. loading ./docs/main.py... <...> File "/home/karl/Projects/inventree/InvenTree/docs/main.py", line 62, in <module> with open(settings_file, encoding='utf-8') as sf: ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/home/karl/Projects/inventree/InvenTree/docs/generated/inventree_settings.json'And the same inside dev-container:
FileNotFoundError: [Errno 2] No such file or directory: '/home/inventree/docs/generated/inventree_settings.json'It looks like that file might(?) be generated by part of the CI flow? Happy to update the docs/README.md in a PR if there's a simple step that's been inadvertently omitted.