Z User
036d177037
fix: Dockerfile cache bust ARG + rm .next + correct data.instance mapping
...
Three fixes:
1. ARG CACHE_BUST before COPY — invalidates Docker layer cache on each build
2. rm -rf .next before npm run build — clears Turbopack cache
3. (Already committed) const instance = data?.instance — correct API response mapping
The instance detail Sheet now opens correctly, showing all sections
(Instanz, Dokploy-Resourcen, Codebase-Graph, Ereignisverlauf, Aktionen).
2026-10-29 18:52:19 +00:00
Z User
3ccf3bfcfa
fix: add rm -rf .next before build in Dockerfile (stale Turbopack cache)
...
The production Docker build was caching old .next chunks. Adding 'rm -rf .next'
before 'npm run build' ensures a fresh build every time, picking up code changes.
2026-10-29 18:34:43 +00:00
fatmacetin and Claude Code
f5b1593e46
chore: align Dockerfile to node:24 (matches engines pin), add openssl for prisma
...
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-28 21:28:57 +01:00
fatmacetin and Claude Code
f0bdf185d5
fix: pin prisma CLI in image, force NODE_ENV=production at runtime
...
Deploy platform injects NODE_ENV=development; CMD now overrides it.
Global prisma@6.19 .2 removes the npx download on every container start.
Co-Authored-By: Claude Code <noreply@anthropic.com >
2026-10-28 21:15:41 +01:00
Z User
7acc0c5451
chore: sync files after PRD gap fixes (Zod, rate-limit, custom-fields, CSP, boundary)
...
5 PRD gaps fixed:
1. Zod validation on all API inputs (§5.2) — 26 files, 27 safeParse
2. Rate limiting on public endpoints (§5.6) — 6 scopes, 7 endpoints
3. Custom fields JSONB with schema (§5.5) — 2 models, 10 seed defs
4. CSP + security headers (§5.6) — 7 headers via next.config.ts
5. ESLint module boundary rule (§5.4) — no-restricted-imports
0 TS errors, ESLint clean.
2026-10-27 22:48:01 +00:00
Z User
3d56770669
feat: Docker deployment + backup/restore + README
...
Production deployment (PRD §5.7):
- Dockerfile: multi-stage build (deps → build → runner), healthcheck
- docker-compose.yml: app + backup container + Caddy HTTPS proxy
- Backup container: daily SQLite backup + SHA-256 checksum
- Caddy: automatic HTTPS reverse proxy
- Volumes: db, data, backups, caddy-data
- deploy/backup.sh: timestamped backup + checksum + retention cleanup
- deploy/restore.sh: checksum verification + pre-restore backup
- README.md: quick start (Docker + dev), architecture, modules, compliance, MCP
Verified:
- Backup script: creates aos_20261027.db + .sha256 ✓
- TypeScript: 0 errors, ESLint clean
2026-10-27 20:55:09 +00:00