feat: Pass environment variables from .env file to container#70
Open
fletchgqc wants to merge 1 commit into
Open
feat: Pass environment variables from .env file to container#70fletchgqc wants to merge 1 commit into
fletchgqc wants to merge 1 commit into
Conversation
Add --env-file option to docker run command when .env file exists in the project directory. This allows environment variables defined in .env to be automatically available inside the container. The .env file was already being mounted, but variables weren't being loaded. This simple change adds the --env-file flag to make Docker parse and load all variables from the file.
Reviewer's guide (collapsed on small PRs)Reviewer's GuideEnhance run_claudebox_container in lib/docker.sh to automatically load environment variables from a .env file by adding the --env-file flag to the docker run command and updating the verbose debug output accordingly. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
fogXploit
added a commit
to fogXploit/claudebox2.0
that referenced
this pull request
Oct 24, 2025
Updated documentation to reflect: - Implementation of PR RchGrav#78 (array expansion safety for macOS) - Implementation of PR RchGrav#73 (MCP cleanup trap scoping fix) - Status of all 11 open PRs from original repository - Prioritization and recommendations for remaining PRs - Next steps: PR RchGrav#70, RchGrav#67, RchGrav#74 ready to implement This ensures the next Claude instance has complete context about: - What's been done - What's still to do - Which PRs to skip/defer - Current test results (71/71 passing)
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.
Add --env-file option to docker run command when .env file exists in the project directory. This allows environment variables defined in .env to be automatically available inside the container.
The .env file was already being mounted, but variables weren't being loaded. This simple change adds the --env-file flag to make Docker parse and load all variables from the file.
Summary by Sourcery
New Features: