chore: align secrets env ignore patterns

Align git and Docker ignore patterns for secrets.env artifacts while preserving the intended encrypted-file workflow.
This commit is contained in:
nickorlabs
2026-06-15 00:49:46 -05:00
committed by GitHub
parent 9d7a3d66c0
commit 2e99825a29
2 changed files with 13 additions and 0 deletions
+6
View File
@@ -10,6 +10,12 @@ dist/
build/
.env
.env.bak.*
# Secrets: keep plaintext and every transient secrets.env variant out of
# the build context. If an encrypted secrets.env is used, it is mounted
# at runtime — never baked into the image. Mirrored in .gitignore.
secrets.env
secrets.env.*
!secrets.env.example
/data/
/logs/
.git/
+7
View File
@@ -15,6 +15,13 @@ venv/
.env.bak.*
!.env.example
# SOPS workflow — encrypted `secrets.env` is intentionally committable,
# but every variant (plaintext, manual decrypt copy, editor backup)
# must stay out of git. Mirrored in .dockerignore so the same artifacts
# also cannot enter image build layers.
secrets.env.*
!secrets.env.example
# Data — all user data stays local
data/
!services/hwfit/data/