feat(config): stats vidéo + user 1000:1000 dans docker-compose

Admin stats : ajout video (count + size_bytes) dans /api/admin/stats.
ConfigPage : grille médias 3 colonnes (Photos / Audio / Vidéos).

docker-compose : backend et backend-worker tournent en user 1000:1000
pour que les fichiers écrits dans ./data/ appartiennent à l'utilisateur
hôte et non à root.

v0.5.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-25 16:44:31 +02:00
parent dd4ce6f52b
commit c72ca04fd2
5 changed files with 8 additions and 2 deletions
+2
View File
@@ -25,6 +25,7 @@ services:
backend:
build: ./backend
user: "1000:1000"
environment:
DATABASE_URL: postgresql+asyncpg://homehub:homehub@db:5432/homehub
UPLOAD_DIR: /data/uploads
@@ -44,6 +45,7 @@ services:
backend-worker:
build: ./backend
user: "1000:1000"
command: arq app.workers.notes_worker.WorkerSettings
environment:
DATABASE_URL: postgresql+asyncpg://homehub:homehub@db:5432/homehub