{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9c187ce9-69e0-4aa2-a47c-84ac2ebbf1b2",
    "slug": "postgresql-18-2",
    "name": "PostgreSQL 18",
    "description": "PostgreSQL version 18, on Alpine Linux",
    "url": "https://railway.com/deploy/postgresql-18-2",
    "upstream": {
      "image": "postgres:18-alpine"
    }
  },
  "services": [
    {
      "name": "postgres:18-alpine",
      "source": {
        "image": "postgres:18-alpine"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_DB",
      "service": "postgres:18-alpine",
      "description": "Database name",
      "secret": false,
      "strategy": "default",
      "default": "name_db"
    },
    {
      "key": "POSTGRES_USER",
      "service": "postgres:18-alpine",
      "description": "Database user",
      "secret": false,
      "strategy": "default",
      "default": "user_db"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres:18-alpine",
      "description": "Database password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "postgresql-18-2"
      }
    },
    "cli": "railway deploy --template postgresql-18-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9c187ce9-69e0-4aa2-a47c-84ac2ebbf1b2",
            "serializedConfig": {
              "services": {
                "632726a8-9992-4fd8-bd8b-2f5e9df5b9a7": {
                  "icon": "https://www.postgresql.org/media/img/about/press/elephant.png",
                  "name": "postgres:18-alpine",
                  "source": {
                    "image": "postgres:18-alpine"
                  },
                  "variables": {
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database name",
                      "defaultValue": "name_db"
                    },
                    "POSTGRES_USER": {
                      "description": "Database user",
                      "defaultValue": "user_db"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Database password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T14:20:27.554Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a35bcc14c1f94e7a9c56",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 68,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "postgres:18-alpine"
  }
}
