Skip to content

Commit 11ae4d1

Browse files
rootclaude
authored andcommitted
security: remove hardcoded POSTGRES_PASSWORD from docker-compose
Replace literal password with \${POSTGRES_PASSWORD} env var reference. Password must be set in .env file (already gitignored). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4a85ece commit 11ae4d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ services:
4242
ports:
4343
- 5432:5432
4444
environment:
45-
- POSTGRES_PASSWORD=090271jd
45+
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
4646
volumes:
4747
- postgres_data:/var/lib/postgresql/data
4848
expose:

0 commit comments

Comments
 (0)