Commit Graph

13 Commits

Author SHA1 Message Date
denshooter aa23fb12a5 Refactor Dockerfile: Remove custom libvips build and update stages for Next.js app
Add .dockerignore: Exclude node_modules, .next, .git, markdown files, and docker-compose.yml
2026-02-22 01:50:50 +01:00
denshooter 5061b9c287 Fix Docker build: Use git archive --remote for libvips source
- Replaced curl download with git archive --remote to fetch libvips source, bypassing previous download issues.
- Adjusted tar extraction and directory navigation to correctly handle the output of git archive.
2026-02-22 01:45:47 +01:00
denshooter a6b211a749 Fix Docker build: Download libvips tarball to temporary file first
- Modified the Dockerfile to download the libvips tarball to a temporary file (vips.tar.gz) using curl -o, then extract from that file.
- Added 'set -eux' to the RUN command for better debugging output.
- This addresses the 'gzip: stdin: not in gzip format' error by ensuring a complete download before extraction.
2026-02-22 01:45:16 +01:00
denshooter 48411e432a Fix Docker build: Download libvips tarball directly instead of git clone
- Replaced 'git clone' with 'curl' to download and extract the libvips source tarball. This avoids persistent 'Remote branch not found' errors when cloning specific tags in the Docker environment.
2026-02-22 01:43:51 +01:00
denshooter 6148e5e9ac Fix Docker build: Specify libvips tag explicitly for git clone
- Changed git clone --branch to git clone --branch refs/tags/ to correctly fetch the libvips version by tag, resolving the 'Remote branch not found' error.
2026-02-22 01:27:30 +01:00
denshooter 82c7b5bcc7 Fix Docker build: Add ca-certificates and refine environment variables
- Added ca-certificates to libvips-builder stage to fix SSL verification during git clone
- Refined ENV declarations to avoid build warnings
- Switched back to entrypoint.sh with gosu for better volume permission handling
2026-02-22 01:25:41 +01:00
denshooter 0facc29a97 Fix HEIC/HEIF image loading in Docker and improve Timeline layout
- Rewrote Dockerfile to compile libvips with HEIF support from source
- Set sharp failOn: 'none' to handle minor image metadata warnings
- Improved timeline thumbnails: increased max-h, added object-[center_15%] to prevent cutting off heads, and added subtle hover effects
- Reverted horizontal timeline spacing to restore the original gap
- Polished timeline card padding and font sizes for a more premium look
2026-02-22 01:22:34 +01:00
denshooter 49d8798e11 Update Dockerfile to add HEIF support dependencies and adjust TimelineSection styles for better layout and image handling 2026-02-22 00:27:12 +01:00
denshooter eb28501b2e Add HEIC to JPEG conversion and image resizing support; update dependencies and Dockerfile 2026-02-22 00:17:08 +01:00
denshooter 70ac6c132f fix: entrypoint script fixes data dir permissions at runtime
Container starts as root, creates data dirs, chowns to nextjs,
then drops to nextjs user via su-exec.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 13:26:27 +01:00
denshooter f13b1ba878 fix: data directory permissions for nextjs user (UID 1001)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 13:23:48 +01:00
denshooter 034ba854b5 feat: admin categorized display, improved CI/CD pipeline
- Admin: User timeline contributions shown in Timeline section
- Admin: User memory contributions shown in Erinnerungen section
- Admin: User photo uploads shown in Familien-Uploads section
- All contributions still appear in unified Beiträge section
- Dockerfile: fix data dir path (/data -> /app/data)
- CI/CD: use checkout@v4, retry health check, auto-create proxy network
- CI/CD: support SITE_PASSWORD/ADMIN_PASSWORD secrets
- CI/CD: use wget instead of curl (alpine compat)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 13:04:20 +01:00
denshooter bdcfa8f3c5 Initial commit: Maria Malejka memorial website
Next.js 14 + node:sqlite memorial site with:
- Hero section, photo slideshow & gallery
- Memory/thoughts editor (admin)
- Music player with upload
- Video gallery
- Docker Compose deployment
- Responsive warm earth tone design
2026-02-16 01:26:37 +01:00