-
QoL features
StableAll checks were successfulBuild and publish Docker image / build-and-push (release) Successful in 1m4sreleased this
2025-11-16 01:23:14 +01:00 | 0 commits to main since this releaseRelease notes
Add robust Docker runtime user handling (PUID/PGID) and entrypoint that prepares /data and runs migrations.
Move Prisma client generation to build stage and apply migrations at container startup.
Fix drag & drop and modal editing UX: global modal tracking prevents dragging while any modal is open and avoids update loops.
UI/layout improvements: centered grid, card sizing, and other cleanups.
README updated with Docker Compose usage and troubleshooting tips.
ChangesDocker: multi-stage build, backend-builder stage installs Prisma and generates client, final image runs as non-root via entrypoint.
Entrypoint: ensures DATA_DIR exists, creates sqlite.db if missing, runs prisma migrate deploy, resolves/creates group by GID, creates user by UID, chowns runtime paths, drops privileges.
Frontend: App.tsx refactor (stable handlers, modal idempotent tracking), Counter.tsx fixes to avoid infinite effect loops, CSS grid/layout tweaks.
README.md: Docker Compose example and quick start.
Breaking / important notesDo NOT set docker-compose user:. Instead pass numeric PUID/PGID (or UID/GID) via env so the entrypoint can run as root, prepare mounts, then drop privileges.
Migrations are applied at container startup (prisma migrate deploy). Ensure migrations are committed and Prisma CLI is available in the image or run migrations from CI/host.
Rebuild images after pulling these changes.Downloads