{
  "id": "jellystat",
  "name": "Jellystat",
  "slogan": "A statistics and history dashboard for Jellyfin with watch time, library and user insights, backed by Postgres. MIT licensed. Create the admin user on first open, then add your Jellyfin URL and an API key.",
  "category": "Monitoring",
  "categorySlug": "monitoring",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 384,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install jellystat --name my-jellystat",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/jellystat/",
  "docsUrl": "https://github.com/CyferShepard/Jellystat",
  "sourceRepo": "https://github.com/CyferShepard/Jellystat",
  "markdownUrl": "https://levelrail.com/templates/jellystat.md",
  "jsonUrl": "https://levelrail.com/templates/jellystat.json",
  "indexable": true,
  "description": "A statistics and history dashboard for Jellyfin with watch time, library and user insights, backed by Postgres. MIT licensed. Create the admin user on first open, then add your Jellyfin URL and an API key.",
  "pinnedTag": "16-alpine",
  "licenseUrl": "https://github.com/CyferShepard/Jellystat/blob/main/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "16-alpine",
      "ports": [],
      "volumes": [
        "pgdata -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "jellystat",
      "image": "cyfershepard/jellystat",
      "tag": "1.1.12",
      "ports": [
        3000
      ],
      "volumes": [
        "backup -> /app/backend/backup-data"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "preset"
    },
    {
      "service": "jellystat",
      "name": "JWT_SECRET",
      "kind": "generated"
    },
    {
      "service": "jellystat",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "jellystat",
      "name": "POSTGRES_IP",
      "kind": "preset"
    },
    {
      "service": "jellystat",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "jellystat",
      "name": "POSTGRES_PORT",
      "kind": "preset"
    },
    {
      "service": "jellystat",
      "name": "POSTGRES_USER",
      "kind": "preset"
    },
    {
      "service": "jellystat",
      "name": "TZ",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install jellystat --name my-jellystat",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/jellystat/install \\\n  -d '{\n    \"name\": \"my-jellystat\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install jellystat --name my-jellystat",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain db=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/jellystat/install \\\n  -d '{\n    \"name\": \"my-jellystat\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
