Skip to content

Commit a7764ee

Browse files
author
root
committed
chore: tighten compose defaults and add security checklist
1 parent 8e2e990 commit a7764ee

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ pnpm --filter web build
5555
- No secrets or credentials committed
5656
- Updated README/docs if behavior changed
5757

58+
## Security Checklist
59+
- Never commit `.env` or real credentials
60+
- Use placeholders or local-only values for compose/dev configs
61+
- Avoid logging tokens or sensitive payloads
62+
- Rotate keys immediately if a secret is exposed
63+
- Keep dependencies updated and audited
64+
5865
## Reporting Issues
5966
When filing a bug, include:
6067
- Reproduction steps

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ services:
44
image: postgres:16-alpine
55
container_name: fairshare-postgres
66
environment:
7-
POSTGRES_USER: postgres
8-
POSTGRES_PASSWORD: postgres
9-
POSTGRES_DB: fairshare
7+
POSTGRES_USER: ${POSTGRES_USER:-postgres}
8+
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
9+
POSTGRES_DB: ${POSTGRES_DB:-fairshare}
1010
ports:
1111
- "5432:5432"
1212
volumes:

0 commit comments

Comments
 (0)