fix: MCP server Docker deployment, healthchecks, and minor fixes

MCP server:
- Fix Prisma imports from stale client-generated path to @prisma/client
- Switch schema from SQLite to PostgreSQL for Docker compatibility
- Add prisma generate step to Dockerfile with proper binaryTargets
- Include index-sse.js in Docker build (was excluded by .dockerignore)
- Install openssl and libc6-compat in Alpine image for Prisma runtime

Docker:
- Fix memento-note healthcheck (wget unavailable in bullseye-slim)

Minor fixes:
- scrape.service SSRF protection, middleware route coverage
- canvas-board and note-input type fixes
- next.config turbopack and devIndicators adjustments

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Sepehr Ramezani
2026-04-21 22:21:35 +02:00
parent 1c659ce42f
commit cff36d9619
19 changed files with 1341 additions and 7346 deletions

View File

@@ -68,7 +68,7 @@ interface NoteInputProps {
onNoteCreated?: (note: Note) => void
defaultExpanded?: boolean
forceExpanded?: boolean
/** Mode onglets : occupe toute la largeur du contenu principal (plus de carte étroite centrée) */
/** Tab mode: takes full width of main content (no narrow centered card) */
fullWidth?: boolean
}
@@ -134,7 +134,7 @@ export function NoteInput({
const [dismissedTitleSuggestions, setDismissedTitleSuggestions] = useState(false)
const handleSelectGhostTag = async (tag: string) => {
// Vérification insensible à la casse
// Case-insensitive check
const tagExists = selectedLabels.some(l => l.toLowerCase() === tag.toLowerCase())
if (!tagExists) {
@@ -145,7 +145,7 @@ export function NoteInput({
try {
await addLabel(tag)
} catch (err) {
console.error('Erreur création label auto:', err)
console.error('Error creating auto-label:', err)
}
}