{
  "id": "grist",
  "name": "Grist",
  "slogan": "A modern relational spreadsheet that combines spreadsheet flexibility with database structure.",
  "category": "Productivity",
  "categorySlug": "productivity",
  "tags": [
    "postgres",
    "redis",
    "multi-service"
  ],
  "license": {
    "spdx": "Apache-2.0",
    "class": "permissive"
  },
  "memoryMiB": 512,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install grist --name my-grist",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/grist/",
  "docsUrl": "https://support.getgrist.com",
  "sourceRepo": "https://github.com/gristlabs/grist-core",
  "markdownUrl": "https://levelrail.com/templates/grist.md",
  "jsonUrl": "https://levelrail.com/templates/grist.json",
  "indexable": true,
  "description": "A modern relational spreadsheet that combines spreadsheet flexibility with database structure. Runs 3 containers (db, grist, redis), with grist listening on port 8484; data is kept in named volumes.",
  "pinnedTag": "16-alpine",
  "licenseUrl": "https://github.com/gristlabs/grist-core/blob/main/LICENSE.txt",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "16-alpine",
      "ports": [],
      "volumes": [
        "grist_db_data -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "grist",
      "image": "gristlabs/grist",
      "tag": "1.3.3",
      "ports": [
        8484
      ],
      "volumes": [
        "grist_data -> /persist"
      ]
    },
    {
      "name": "redis",
      "image": "redis",
      "tag": "7-alpine",
      "ports": [],
      "volumes": [
        "grist_redis_data -> /data"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "generated"
    },
    {
      "service": "grist",
      "name": "GRIST_SESSION_SECRET",
      "kind": "generated"
    },
    {
      "service": "grist",
      "name": "REDIS_URL",
      "kind": "preset"
    },
    {
      "service": "grist",
      "name": "TYPEORM_DATABASE",
      "kind": "preset"
    },
    {
      "service": "grist",
      "name": "TYPEORM_HOST",
      "kind": "preset"
    },
    {
      "service": "grist",
      "name": "TYPEORM_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "grist",
      "name": "TYPEORM_TYPE",
      "kind": "preset"
    },
    {
      "service": "grist",
      "name": "TYPEORM_USERNAME",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy grist --name my-grist",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/grist/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy grist --name my-grist"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/grist/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
