0671565433
Bug: Im Container schlug Prisma + mariadb-Auth fehl. - Prisma-Engine `linux-musl` braucht libssl.so.1.1 → Alpine 3.19+ hat nur openssl 3 → "shared library libssl.so.1.1 not found" - mariadb-client unter Alpine warf "TLS/SSL error: SSL is required" Fix: alle Stages (Frontend-build, Backend-build, Runtime) auf node:20-slim (Debian-bookworm). glibc + openssl 3 ABI-kompatibel, Prisma generiert linux-debian-Engine korrekt. Plus: .dockerignore um data/, plesktest/, backup-Klone erweitert (Build-Context war u.a. wegen MariaDB-Files mit restricted Permissions nicht lesbar). Plus: docker-compose.yml: version: '3.8' für docker-compose v1 Kompatibilität. Live-verifiziert: docker-compose up -d --build → alle 3 Container healthy, Login funktioniert, alte DB-Daten (3 Kunden, 15 Verträge, 144 SecurityEvents) erhalten via Volume-zu-Bind-Mount-Migration. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
61 lines
816 B
Plaintext
61 lines
816 B
Plaintext
# Dependencies
|
|
node_modules
|
|
*/node_modules
|
|
|
|
# Build output (will be built in container)
|
|
frontend/dist
|
|
backend/dist
|
|
|
|
# Development files
|
|
.git
|
|
.gitignore
|
|
.vscode
|
|
.idea
|
|
*.md
|
|
!docker/README.md
|
|
|
|
# Environment files (use Docker environment instead)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
backend/.env
|
|
frontend/.env
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Test files
|
|
*.test.ts
|
|
*.test.tsx
|
|
*.spec.ts
|
|
*.spec.tsx
|
|
__tests__
|
|
coverage
|
|
|
|
# Docker files in wrong location
|
|
docker-compose.yml
|
|
|
|
# Uploads and backups (mounted as volumes)
|
|
uploads
|
|
backups
|
|
backend/uploads
|
|
backend/backups
|
|
|
|
# Daten-Verzeichnis (Bind-Mounts zur Laufzeit, nicht im Build-Context)
|
|
data/
|
|
|
|
# Plesk-Test (nicht für Container)
|
|
plesktest/
|
|
|
|
# Backup-Klone des Repos
|
|
opencrm-backup-*/
|
|
|
|
# Prisma migrations (included, but not dev db)
|
|
*.db
|
|
*.db-journal
|