{
  "id": "prefect",
  "name": "Prefect",
  "slogan": "Python-native workflow orchestration with scheduling, retries, and a dashboard for every flow run.",
  "category": "Automation",
  "categorySlug": "automation",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "Apache-2.0",
    "class": "permissive"
  },
  "memoryMiB": 1024,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install prefect --name my-prefect",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/prefect/",
  "docsUrl": "https://docs.prefect.io",
  "sourceRepo": "https://github.com/PrefectHQ/prefect",
  "markdownUrl": "https://levelrail.com/templates/prefect.md",
  "jsonUrl": "https://levelrail.com/templates/prefect.json",
  "indexable": true,
  "description": "Python-native workflow orchestration with scheduling, retries, and a dashboard for every flow run. Runs 2 containers (db, prefect), with prefect listening on port 4200 and keeps its data in named volumes.",
  "pinnedTag": "16-alpine",
  "licenseUrl": "https://github.com/PrefectHQ/prefect/blob/main/LICENSE",
  "licenseClassLabel": "Permissive license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "16-alpine",
      "ports": [],
      "volumes": [
        "prefect_db_data -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "prefect",
      "image": "prefecthq/prefect",
      "tag": "3-latest",
      "ports": [
        4200
      ],
      "volumes": [
        "prefect_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": "prefect",
      "name": "PREFECT_API_DATABASE_CONNECTION_URL",
      "kind": "generated"
    },
    {
      "service": "prefect",
      "name": "PREFECT_HOME",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy prefect --name my-prefect",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/prefect/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy prefect --name my-prefect"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/prefect/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
