Skip to content

Jellystat

Docker Apps Rating
U/GID TZ SSO/Users Portable Subfolder
✅* ❌🤵

https://github.com/CyferShepard/Jellystat

Install

Docker Compose (minimum viable setup)

services:
  jellystat-db:
    container_name: jellystat-db
    image: postgres:15
    user: 1000:1001
    env_file:
      - jellystat.env
    environment:
      POSTGRES_DB: 'jellystat'
      TZ: 'America/Vancouver'
      PGTZ: 'America/Vancouver'
    volumes:
    - ~/docker/jellystat/db:/var/lib/postgresql/data # Mounting the volume
    restart: unless-stopped

  jellystat:
    image: cyfershepard/jellystat:latest
    container_name: jellystat
    user: 1000:1001
    env_file:
      - jellystat.env
    environment:
      POSTGRES_IP: jellystat-db
      POSTGRES_PORT: 5432
    ports:
      - "5050:3000" #Server Port
    volumes:
      - ~/docker/jellystat/app:/app/backend/backup-data # Mounting the volume
    depends_on:
      - jellystat-db
    restart: unless-stopped

The content of jellystat.env

POSTGRES_USER=jellystat
POSTGRES_PASSWORD=
JWT_SECRET=

  • Use both PGTZ and TZ to set timezone logging
  • The environment POSTGRES_DB may not work, the default database is jfstat
    The secret can be generated with
    openssl rand -base64 64 | tr -d '\ n'
    

Usage

Jellyfin API key is needed to configure it. The app will show login/configuration screen.
No other configurations are nessecary.

Backup/Restore

If using bind mount, simply copy the files in the bind mount and everything will work on the new machine without issues. No database dumps, other steps are necessary.

  • ensure the username/password/secret in the environments are matching

Reverse Proxy/SSO

App do not have SSO support. The internal login cannot be disabled, github issue.
App do not support subfolders, only subpath supported. No special requirements needed when using Nginx Proxy Manager. If the frontend is in the same network as proxy, simply jellystat:3000 is enough.

Comments