{
  "id": "manyfold",
  "name": "Manyfold",
  "slogan": "A self-hosted manager for 3D printing model libraries with tags, previews and sharing, backed by Postgres and Redis. Create the first admin on first open.",
  "category": "Media",
  "categorySlug": "media",
  "tags": [
    "postgres",
    "redis",
    "multi-service"
  ],
  "license": {
    "spdx": "MIT",
    "class": "permissive"
  },
  "memoryMiB": 768,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install manyfold --name my-manyfold",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/manyfold/",
  "docsUrl": "https://manyfold.app/get-started/docker",
  "sourceRepo": "https://github.com/manyfold3d/manyfold",
  "markdownUrl": "https://levelrail.com/templates/manyfold.md",
  "jsonUrl": "https://levelrail.com/templates/manyfold.json",
  "indexable": true,
  "description": "A self-hosted manager for 3D printing model libraries with tags, previews and sharing, backed by Postgres and Redis. Create the first admin on first open.",
  "pinnedTag": "17.11-alpine",
  "licenseUrl": "https://github.com/manyfold3d/manyfold/blob/HEAD/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Open the page and create the first admin account, then add a library path."
  ],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "17.11-alpine",
      "ports": [],
      "volumes": [
        "pgdata -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "manyfold",
      "image": "ghcr.io/manyfold3d/manyfold",
      "tag": "0.154.1",
      "ports": [
        3214
      ],
      "volumes": [
        "libraries -> /libraries"
      ]
    },
    {
      "name": "redis",
      "image": "redis",
      "tag": "7.4.7-alpine",
      "ports": [],
      "volumes": [
        "redis_data -> /data"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "DATABASE_ADAPTER",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "DATABASE_HOST",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "DATABASE_NAME",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "DATABASE_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "manyfold",
      "name": "DATABASE_PORT",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "DATABASE_USER",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "PGID",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "PUID",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "REDIS_URL",
      "kind": "preset"
    },
    {
      "service": "manyfold",
      "name": "SECRET_KEY_BASE",
      "kind": "generated"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install manyfold --name my-manyfold",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/manyfold/install \\\n  -d '{\n    \"name\": \"my-manyfold\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install manyfold --name my-manyfold",
        "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/manyfold/install \\\n  -d '{\n    \"name\": \"my-manyfold\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
