{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8a9d2048-d9dd-4b56-92ed-9b8e2ee6898a",
    "slug": "ZVljtU",
    "name": "neo4j",
    "description": "Creates a Neo4j graph database and volume for persistent storage.",
    "url": "https://railway.com/deploy/ZVljtU",
    "upstream": {
      "image": "neo4j:5.26-community-bullseye"
    }
  },
  "services": [
    {
      "name": "Neo4j Graph Database (Metal-Ready)",
      "source": {
        "image": "neo4j:5.26-community-bullseye"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/neo4j/data",
      "tcp_ports": [
        7687
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Neo4j Graph Database (Metal-Ready)",
      "description": "The port to connect to via Bolt protocol.",
      "secret": false,
      "strategy": "default",
      "default": "7687"
    },
    {
      "key": "NEO4J_AUTH",
      "service": "Neo4j Graph Database (Metal-Ready)",
      "description": "The auth string for initial password setting.",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "NEO4J_server_memory_heap_max__size",
      "service": "Neo4j Graph Database (Metal-Ready)",
      "description": "The max heap size for Neo4j.",
      "secret": false,
      "strategy": "default",
      "default": "2g"
    },
    {
      "key": "NEO4J_server_memory_pagecache_size",
      "service": "Neo4j Graph Database (Metal-Ready)",
      "description": "The page cache size for Neo4j",
      "secret": false,
      "strategy": "default",
      "default": "2g"
    },
    {
      "key": "NEO4J_server_memory_heap_initial__size",
      "service": "Neo4j Graph Database (Metal-Ready)",
      "description": "The initial heap size for Neo4j.",
      "secret": false,
      "strategy": "default",
      "default": "2g"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ZVljtU"
      }
    },
    "cli": "railway deploy --template ZVljtU",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8a9d2048-d9dd-4b56-92ed-9b8e2ee6898a",
            "serializedConfig": {
              "services": {
                "fd123c04-5e20-4df7-a71b-35df16b275c1": {
                  "name": "Neo4j Graph Database (Metal-Ready)",
                  "deploy": {
                    "healthcheckPath": "/dbms/cluster/status"
                  },
                  "source": {
                    "image": "neo4j:5.26-community-bullseye"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port to connect to via Bolt protocol.",
                      "defaultValue": "7687"
                    },
                    "NEO4J_AUTH": {
                      "isOptional": true,
                      "description": "The auth string for initial password setting.",
                      "defaultValue": "none"
                    },
                    "NEO4J_server_memory_heap_max__size": {
                      "isOptional": false,
                      "description": "The max heap size for Neo4j.",
                      "defaultValue": "2g"
                    },
                    "NEO4J_server_memory_pagecache_size": {
                      "isOptional": false,
                      "description": "The page cache size for Neo4j",
                      "defaultValue": "2g"
                    },
                    "NEO4J_server_memory_heap_initial__size": {
                      "isOptional": false,
                      "description": "The initial heap size for Neo4j.",
                      "defaultValue": "2g"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "7687": {}
                    }
                  },
                  "volumeMounts": {
                    "fd123c04-5e20-4df7-a71b-35df16b275c1": {
                      "mountPath": "/var/lib/neo4j/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T04:14:41.730Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T10:49:35.117Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6827ef46c3b245939ede",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 72,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Neo4j Graph Database (Metal-Ready)"
  }
}
