fix: replace real credentials in .env.example with placeholders
- Replace ml_password with change_me_to_a_strong_password placeholder - Replace ml_user with your_db_user placeholder - Mark task 1.3 as completed in tasks.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
099f334fe9
commit
55ee9c936a
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
NODE_ENV=production
|
||||
PORT=3000
|
||||
DATABASE_URL=postgresql://ml_user:ml_password@postgres:5432/candle_annotator
|
||||
DATABASE_URL=postgresql://your_db_user:change_me_to_a_strong_password@postgres:5432/candle_annotator
|
||||
|
||||
# ML Inference Service Configuration
|
||||
INFERENCE_API_URL=http://localhost:8001
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- [x] 1.1 `[haiku]` Add `.env` to `.gitignore` and run `git rm --cached .env` to untrack it
|
||||
- [x] 1.2 `[haiku]` Add `models/` and `*.pkl` to `.gitignore`
|
||||
- [ ] 1.3 `[haiku]` Replace real credentials in `.env.example` with placeholders (`POSTGRES_PASSWORD=change_me_to_a_strong_password`)
|
||||
- [x] 1.3 `[haiku]` Replace real credentials in `.env.example` with placeholders (`POSTGRES_PASSWORD=change_me_to_a_strong_password`)
|
||||
- [ ] 1.4 `[haiku]` Remove SQL comment with credentials from `services/ml/app/db.py` and add fail-fast check for missing `DATABASE_URL`
|
||||
- [ ] 1.5 `[sonnet]` Update `docker-compose.yml` to use `${POSTGRES_USER}`, `${POSTGRES_PASSWORD}`, `${POSTGRES_DB}` env var interpolation in all DATABASE_URL values
|
||||
- [ ] 1.6 `[haiku]` Bind PostgreSQL port to `127.0.0.1:5432:5432` in `docker-compose.yml`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue