Files
blog/content/posts/commits/2026-02-27-commit-922a790.md
Betty dda1ea342d
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit 922a790 in bojemoi
2026-02-27 23:53:41 +01:00

45 lines
1.1 KiB
Markdown

---
title: "[bojemoi] mcp: move PG_PASSWORD and FARADAY_PASSWORD to Docker secrets"
date: 2026-02-27T23:53:40+01:00
draft: false
tags: ["commit", "bojemoi", "main"]
categories: ["Git Activity"]
summary: "Commit 922a790 par Betty dans bojemoi"
author: "Betty"
---
## Commit `922a790`
| | |
|---|---|
| **Repository** | bojemoi |
| **Branch** | `main` |
| **Author** | Betty |
| **Hash** | `922a790edac1bc33b06039dbb17b8ddca2d80b15` |
### Description
Replace plaintext passwords in environment variables with Docker secrets
mcp_pg_password and mcp_faraday_password. Code reads /run/secrets/ first,
falls back to env var for local dev compatibility.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
### Files Changed
```
A mcp-server/tools/database.py
A mcp-server/tools/faraday.py
A stack/49-service-mcp.yml
```
### Diff Summary
```
mcp-server/tools/database.py | 180 +++++++++++++++++++++++++++++++++++++++++++
mcp-server/tools/faraday.py | 126 ++++++++++++++++++++++++++++++
stack/49-service-mcp.yml | 70 +++++++++++++++++
3 files changed, 376 insertions(+)
```