forked from 0xWheatyz/SPARC
Remove hardcoded database credentials from docker-compose.yml #1571
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
Roadmap item: P1 - Security hardening
docker-compose.ymlembedsPOSTGRES_USER=postgresandPOSTGRES_PASSWORD=postgresin plain text committed to version control.What to do
.env.examplefile listing all required environment variables includingPOSTGRES_USER,POSTGRES_PASSWORD, andPOSTGRES_DBwith placeholder valuesdocker-compose.ymlto reference these via${POSTGRES_USER}etc. (or use anenv_filedirective).envis in.gitignore.envfrom.env.exampleAcceptance criteria
docker-compose.ymlcontains no hardcoded credentials.env.exampledocuments all required variables.envis gitignoreddocker compose upstill works when.envis populated from the example.envsetup stepRef: ROADMAP.md P1 - Security hardening
[Manager Triage] Assigned to @AI-Engineer. Priority: P1 (security/configuration hardening). This is a targeted config change suitable for a developer agent.