{
  "id": "grimmory",
  "name": "Grimmory",
  "slogan": "Organize, read, annotate, and sync your entire book collection from one place.",
  "category": "Media",
  "categorySlug": "media",
  "tags": [
    "mysql",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0",
    "class": "network-copyleft"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install grimmory --name my-grimmory",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/grimmory/",
  "docsUrl": "https://github.com/grimmory-tools/grimmory",
  "sourceRepo": "https://github.com/grimmory-tools/grimmory",
  "markdownUrl": "https://levelrail.com/templates/grimmory.md",
  "jsonUrl": "https://levelrail.com/templates/grimmory.json",
  "indexable": true,
  "description": "Organize, read, annotate, and sync your entire book collection from one place. Runs 2 containers (db, grimmory), with grimmory listening on port 80; data is kept in named volumes.",
  "pinnedTag": "11",
  "licenseUrl": "https://github.com/grimmory-tools/grimmory/blob/develop/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "mariadb",
      "tag": "11",
      "ports": [],
      "volumes": [
        "grimmory_db_data -> /var/lib/mysql"
      ]
    },
    {
      "name": "grimmory",
      "image": "grimmory/grimmory",
      "tag": "nightly-20260403-3a371f7",
      "ports": [
        80
      ],
      "volumes": [
        "grimmory_data -> /app/data",
        "grimmory_books -> /books"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "MARIADB_DATABASE",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "MARIADB_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "MARIADB_ROOT_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "MARIADB_USER",
      "kind": "generated"
    },
    {
      "service": "grimmory",
      "name": "DATABASE_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "grimmory",
      "name": "DATABASE_URL",
      "kind": "preset"
    },
    {
      "service": "grimmory",
      "name": "DATABASE_USERNAME",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy grimmory --name my-grimmory",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/grimmory/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy grimmory --name my-grimmory"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/grimmory/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
