fix(extensions-library): add setup hooks for anythingllm and flowise#566
Merged
Lightheartdevs merged 1 commit intoLight-Heart-Labs:resources/devfrom Mar 24, 2026
Conversation
This was referenced Mar 23, 2026
Both services require secrets via compose :? syntax but had no mechanism to auto-generate them. Add env_vars declarations to manifests and setup.sh scripts that generate required secrets on first install. - anythingllm: ANYTHINGLLM_JWT_SECRET, ANYTHINGLLM_AUTH_TOKEN - flowise: FLOWISE_USERNAME (default: admin), FLOWISE_PASSWORD Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9fd1279 to
493760b
Compare
Contributor
Author
576edd3
into
Light-Heart-Labs:resources/dev
12 of 17 checks passed
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
env_varsdeclarations andsetup.shhook scripts for anythingllm and flowise.Why
Both services require secrets via compose
:?syntax (ANYTHINGLLM_JWT_SECRET,ANYTHINGLLM_AUTH_TOKEN,FLOWISE_USERNAME,FLOWISE_PASSWORD) but had no mechanism to auto-generate them. Users hit a cryptic Docker Compose error with no guidance.How
env_varssection to both manifests declaring required variables withsecret: truesetup_hook: setup.shto both manifestssetup.shscripts that auto-generate secrets usingopenssl randon first installScope
All changes within
resources/dev/extensions-library/services/{anythingllm,flowise}/.Testing
.envpopulation, verify compose starts without:?errors, verify idempotency on re-runReview
Critique Guardian: APPROVED
Known Considerations
.env, which erases extension secrets. Setup hooks re-generate new values. This is a pre-existing architectural limitation outside extensions-library scope.Suggested merge order
This PR is independent and can merge in any order relative to other batch C PRs.