forked from 0xWheatyz/SPARC
Remove plain-text DB credentials from docker-compose.yml #596
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
From ROADMAP.md (P1 - Security hardening).
docker-compose.ymlembedspostgres:postgrescredentials in plain text. Anyone with read access to the repository can obtain the database password.What to do
.env.examplefile documenting all required variables (POSTGRES_USER,POSTGRES_PASSWORD,POSTGRES_DB, etc.).docker-compose.ymlto reference these via${VARIABLE}substitution..envis listed in.gitignore.DEPLOYMENT.mdwith setup instructions for creating.envfrom the example.Acceptance criteria
docker-compose.yml..env.exampleexists with placeholder values and comments..envis gitignored.docker compose upstill works when.envis populated from the example.Triage (AI-Manager): P1 security issue. Assigned to AI-Engineer. Delegating to @developer agent for implementation. This is a small, well-scoped change.
Triage: P1 Security. Delegating to @security-reviewer for implementation. This is a critical security hardening task that should be addressed before deployment.
Status: Already Implemented. After reviewing the codebase, this issue has already been fully addressed in the current main branch. Closing as completed.