JellyStat : statistiques de lecture et contenus
Petit utilitaire sympathique, même quand le serveur est personnel.
JellyStat de CyferShepard permet d’obtenir diverses statistiques de son serveur Jellyfin : taille des bibliothèques, contenus ajoutés, contenus lus, activité des utilisateurs…
Mon serveur étant tout récent, mes screens révèlent très peu de stats pour l’instant ^^




Le compose officiel est sur GitHub.
Je me suis fait une version modifiée avec .env et healthcheck notamment.
services:
jellystat-db:
image: postgres:15.2
container_name: jellystat-db
restart: always
shm_size: 1gb
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-mypassword}
POSTGRES_DB: ${POSTGRES_DB:-jellystat}
TZ: ${TZ:-Europe/Paris}
volumes:
- /mnt/user/appdata/jellystat/postgres-data:/var/lib/postgresql/data
logging:
driver: json-file
options:
max-file: "5"
max-size: 10m
healthcheck:
test:
- CMD-SHELL
- pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-jellystat}
-h 127.0.0.1
interval: 10s
timeout: 5s
retries: 5
jellystat:
image: cyfershepard/jellystat:latest
container_name: jellystat
restart: always
depends_on:
jellystat-db:
condition: service_healthy
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-mypassword}
POSTGRES_IP: jellystat-db
POSTGRES_PORT: ${POSTGRES_PORT:-5432}
POSTGRES_DB: ${POSTGRES_DB:-jellystat}
JWT_SECRET: ${JWT_SECRET:-change-me-please}
TZ: ${TZ:-Europe/Paris}
volumes:
- /mnt/user/appdata/jellystat/data:/app/backend/backup-data
ports:
- 3167:3000
labels:
- com.centurylinklabs.watchtower.enable=true
logging:
driver: json-file
options:
max-file: "5"
max-size: 10m
POSTGRES_USER=postgres
POSTGRES_PASSWORD=GqQlcX8pt0vdq84fbguHSyQHKUp4Qs
POSTGRES_DB=jellystat
POSTGRES_PORT=5432
JWT_SECRET=f019bc29232cdbde0664c44394dd4ee8e88df133081e76a7f520767f8ac29c95
TZ=Europe/Paris
Le JWT_SECRET s’obtient avec
openssl rand -hex 32
On le configure ensuite via la WebUI


