Skip to content

Ignore local .env in git and Docker builds - #21

Open
robrich82 wants to merge 2 commits into
glomatico:mainfrom
robrich82:gitignore-env
Open

robrich82 wants to merge 2 commits into
glomatico:mainfrom
robrich82:gitignore-env

Conversation

@robrich82

@robrich82 robrich82 commented Nov 14, 2026 •

Copy link
Copy Markdown

Closes #20.

Adds .env to .gitignore and .dockerignore, so the copy of .env.example (which may hold WRAPPER_USERNAME / WRAPPER_PASSWORD) can't be committed or sent into the build stage. .env.example is still tracked. Compose still reads .env on the host to fill in ${VAR}s, so builds and runs are unchanged.

@robrich82 robrich82 changed the title Ignore local .env Ignore local .env in git and Docker builds Nov 14, 2026
@robrich82
robrich82 marked this pull request as ready for review November 14, 2026 01:13
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.

.env is not ignored by git or the Docker build

1 participant