mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-17 18:25:26 -04:00
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:
@@ -10,6 +10,12 @@ dist/
|
|||||||
build/
|
build/
|
||||||
.env
|
.env
|
||||||
.env.bak.*
|
.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/
|
/data/
|
||||||
/logs/
|
/logs/
|
||||||
.git/
|
.git/
|
||||||
|
|||||||
@@ -15,6 +15,13 @@ venv/
|
|||||||
.env.bak.*
|
.env.bak.*
|
||||||
!.env.example
|
!.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 — all user data stays local
|
||||||
data/
|
data/
|
||||||
!services/hwfit/data/
|
!services/hwfit/data/
|
||||||
|
|||||||
Reference in New Issue
Block a user