Commit Graph

15 Commits

Author SHA1 Message Date
6f395f2d7b docker: ensure prod stage installs deps and uses builder server-dist; keep client dist from context 2025-10-06 18:02:13 +02:00
05b54f41fe docker: force bcrypt build-from-source and enable pre/post scripts across stages 2025-10-06 17:59:25 +02:00
7e3173f5b3 docker: install build deps and enable scripts for bcrypt; rebuild native module in prod images 2025-10-06 17:55:14 +02:00
30cfe78c59 docker/local: add production-prebuilt stage and use it in docker-compose.yml 2025-10-06 17:38:25 +02:00
094066426e docker: build server-dist in builder stage; run-time uses built server; keep client dist prebuilt 2025-10-06 17:34:58 +02:00
3f2282f680 docker: switch to runtime-only image using prebuilt dist/server-dist; no TS build in image 2025-10-06 17:30:31 +02:00
31b007d145 CalDAV: Support Basic auth; trim+validate UUID; deprecate query token via headers; ICS end time helper; docs+instructions updated 2025-10-06 17:25:25 +02:00
6e826922f6 Fix: Copy public directory to production container
- Added COPY --from=base /app/public ./public to Dockerfile
- This ensures all public assets (favicon.png, AGB.pdf, assets/) are available in production
- Fixes missing public files in the production container
- Public directory contains favicon.png, AGB.pdf, and logo assets
2025-10-02 00:10:14 +02:00
ffc21a76e7 Fix: Resolve permission issues with .storage directories
- Install su-exec in Dockerfile for user switching
- Modified start.sh to create directories as root, then change ownership
- Container starts as root but switches to nextjs user for app execution
- This prevents permission denied errors when creating .storage directories
2025-10-01 23:07:33 +02:00
857b60e1f5 Fix: Use startup script to create .storage directories at runtime
- Changed from bind mount to named volume for .storage
- Added start.sh script that creates required directories before starting the app
- This prevents ENOENT errors when initializing admin user
2025-10-01 23:05:21 +02:00
713da5a802 Fix: Create .storage directories in Dockerfile to prevent ENOENT errors 2025-10-01 23:01:35 +02:00
9da96d7af9 build(server): separater TS-Build für Server (server-dist) und Runtime auf Node JS statt ts-node; Dockerfile startet server-dist/index.js 2025-10-01 22:05:01 +02:00
4f901400a3 fix(runtime): füge tsconfig.server.json hinzu und setze TS_NODE_PROJECT für NodeNext-Loader 2025-10-01 22:01:39 +02:00
fe3acccb93 fix(runtime): installiere ts-node im Production-Image, damit Node --loader ts-node/esm funktioniert 2025-10-01 21:47:35 +02:00
d1f312116e feat: Add Docker support and health endpoint
- Add production-ready Dockerfile with multi-stage build
- Add .dockerignore for optimized builds
- Add docker-compose.yml for easy deployment
- Add /health endpoint for container health checks
- Update README with comprehensive Docker documentation
- Include security best practices (non-root user, health checks)
- Support for both development and production deployments
2025-09-30 14:23:14 +02:00