diff --git a/Dockerfile b/Dockerfile index 72d022d..ff22003 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,12 +23,15 @@ COPY backend/ . # Zentrale Version (wird von main.py beim Startup gelesen) COPY VERSION /app/VERSION -# Media-Verzeichnis + Permissions +# Media-Verzeichnis RUN mkdir -p /data/media/dogs /data/media/diary /data/media/poison \ - /data/media/breeds/gallery /data/media/breeds/submissions && \ - chown -R appuser:appuser /app /data + /data/media/breeds/gallery /data/media/breeds/submissions -USER appuser +# USER appuser auskommentiert: Synology DSM Volume-ACLs blockieren das +# (SQLite OperationalError: 'attempt to write a readonly database'). User- +# Anlage bleibt im Dockerfile damit nicht-DS-Deployments später wechseln +# können via `USER appuser` Zeile auskommentieren-entfernen. +# USER appuser EXPOSE 8000 diff --git a/VERSION b/VERSION index a42ee12..109da83 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1116 \ No newline at end of file +1117 \ No newline at end of file diff --git a/backend/static/index.html b/backend/static/index.html index a4ddad0..8d4f016 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -86,14 +86,14 @@ Ban Yaro - + - - - - - + + + + + @@ -617,11 +617,11 @@ - - - - - + + + + + @@ -631,7 +631,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 04c7e91..d05770b 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '1116'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1117'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator) window.APP_VERSION = APP_VERSION; diff --git a/backend/static/landing.html b/backend/static/landing.html index ba696fa..2b132eb 100644 --- a/backend/static/landing.html +++ b/backend/static/landing.html @@ -4,7 +4,7 @@ - + Ban Yaro — Die Hunde-App für Deutschland, Österreich & Schweiz diff --git a/backend/static/sw.js b/backend/static/sw.js index e249086..5778dc3 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -4,7 +4,7 @@ ============================================================ */ // ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab -const VER = '1116'; +const VER = '1117'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten