Skip to content

Update .env defaults#37

Merged
kevinbackhouse merged 1 commit intoGitHubSecurityLab:mainfrom
kevinbackhouse:env-default
Jan 30, 2026
Merged

Update .env defaults#37
kevinbackhouse merged 1 commit intoGitHubSecurityLab:mainfrom
kevinbackhouse:env-default

Conversation

@kevinbackhouse
Copy link
Copy Markdown
Contributor

Put the defaults in a file. It makes it easier to read and modify than the echo commands in the script.

Copilot AI review requested due to automatic review settings January 29, 2026 20:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the .env file creation in the devcontainer setup by replacing inline echo commands with a template file approach. Instead of echoing lines directly into the .env file, it now copies a template file (.devcontainer/env-default) to .env.

Changes:

  • Replaced echo commands in post-create.sh with a cp command to copy env-default template
  • Added new env-default template file with commented configuration options for AI endpoints and data directories
  • Updated the warning message to inform users they can edit the auto-generated .env file

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.devcontainer/post-create.sh Modified to copy env-default template instead of echoing individual lines; updated warning message
.devcontainer/env-default New template file containing commented configuration options for AI API endpoints and data storage directories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .devcontainer/env-default Outdated
Comment thread .devcontainer/env-default
Comment thread .devcontainer/post-create.sh Outdated
Copilot AI review requested due to automatic review settings January 29, 2026 20:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kevinbackhouse kevinbackhouse marked this pull request as ready for review January 30, 2026 10:50
@kevinbackhouse kevinbackhouse merged commit e595ffb into GitHubSecurityLab:main Jan 30, 2026
12 checks passed
@kevinbackhouse kevinbackhouse deleted the env-default branch January 30, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants