{
  "manifest_version": "1.0.0",
  "template": {
    "id": "32bbec1f-a771-461c-aed2-fd38ad166904",
    "slug": "MGUlUB",
    "name": "Supabase Postgres",
    "description": "Complete Postgres database with realtime capabilities and REST API",
    "url": "https://railway.com/deploy/MGUlUB",
    "upstream": {
      "image": "supabase/postgres"
    }
  },
  "services": [
    {
      "name": "Supabase Postgres",
      "source": {
        "image": "supabase/postgres"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Supabase Postgres",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Supabase Postgres",
      "description": "Provide a value for POSTGRES_DB.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Supabase Postgres",
      "description": "Provide a value for POSTGRES_USER.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Supabase Postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "MGUlUB"
      }
    },
    "cli": "railway deploy --template MGUlUB",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "32bbec1f-a771-461c-aed2-fd38ad166904",
            "serializedConfig": {
              "services": {
                "8ac2143f-d5b3-4f58-9b6d-a64bab27fbc9": {
                  "icon": "https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fres.cloudinary.com%2Fpracticaldev%2Fimage%2Ffetch%2Fs--_uq2hqHB--%2Fc_limit%252Cf_auto%252Cfl_progressive%252Cq_auto%252Cw_800%2Fhttps%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj1g1k90wr1t9t4g476ux.png&f=1&nofb=1&ipt=d5ecff2097d3f2557993bf39da5c2c40a919ad5ee4dd7f13da111244e7e857d7&ipo=images",
                  "name": "Supabase Postgres",
                  "source": {
                    "image": "supabase/postgres"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "5432"
                    },
                    "POSTGRES_DB": {
                      "description": "",
                      "defaultValue": "{{POSTGRES_DB}}"
                    },
                    "POSTGRES_USER": {
                      "description": "",
                      "defaultValue": "{{POSTGRES_USER}}"
                    },
                    "POSTGRES_PASSWORD": {
                      "description": "",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    }
                  },
                  "volumeMounts": {
                    "8ac2143f-d5b3-4f58-9b6d-a64bab27fbc9": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T10:19:34.772Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_755e20cb515d4aebb69d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
