fix(extensions-library): add setup hooks for weaviate and paperless-ngx#570
Open
yasinBursali wants to merge 1 commit intoLight-Heart-Labs:resources/devfrom
Open
fix(extensions-library): add setup hooks for weaviate and paperless-ngx#570yasinBursali wants to merge 1 commit intoLight-Heart-Labs:resources/devfrom
yasinBursali wants to merge 1 commit intoLight-Heart-Labs:resources/devfrom
Conversation
Add setup.sh scripts that auto-generate required secrets on first install, along with env_vars declarations in manifests. - weaviate: WEAVIATE_API_KEY - paperless-ngx: PAPERLESS_SECRET_KEY Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3306061 to
ae6ce86
Compare
Contributor
Author
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.
What
Add
setup.shhook scripts andenv_varsdeclarations for weaviate and paperless-ngx.Why
WEAVIATE_API_KEYvia:?syntax but manifest hadenv_vars: []and no auto-generationPAPERLESS_SECRET_KEYwith insecure defaultchange-me— manifest hadenv_vars: []and no auto-generationHow
env_varswithrequired: true, secret: truefor both servicessetup_hook: setup.shto both manifestssetup.shscripts usingopenssl rand -hex 32PAPERLESS_DB_PASSWORDintentionally NOT generated — the compose file does not pass it to the paperless-ngx container, only to postgres. Generating it would break DB authentication.Scope
All changes within
resources/dev/extensions-library/services/{weaviate,paperless-ngx}/.Testing
.env, verify compose starts, verify weaviate accepts generated API keyReview
Critique Guardian: APPROVED (after removing PAPERLESS_DB_PASSWORD generation that would have broken DB auth)
Suggested merge order
Complements existing open PRs for weaviate env_vars declaration and paperless secret key requirement. Those PRs can merge first; this PR adds the auto-generation layer. No merge conflicts expected.