{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dd6674d2-0486-4abd-b2dd-c1d9adc63bbf",
    "slug": "asEF1B",
    "name": "Neo4j GraphDB",
    "description": "Deploy a fully managed Neo4j instance on Railway with ease.",
    "url": "https://railway.com/deploy/asEF1B",
    "upstream": {
      "repo_url": "https://github.com/sukrutnrvd/neo4j-template"
    }
  },
  "services": [
    {
      "name": "neo4j",
      "source": {
        "repo": "https://github.com/sukrutnrvd/neo4j-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        7687
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DB_PASSWORD",
      "service": "neo4j",
      "description": "Must be at least 8 characters or it will crash during the deployment phase.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "HEAP_MAX_SIZE",
      "service": "neo4j",
      "description": "Please do not update this value if you on a hobby plan or trial. For more info visit https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_server.memory.heap.max_size",
      "secret": false,
      "strategy": "default",
      "default": "1g"
    },
    {
      "key": "NEO4J_PLUGINS",
      "service": "neo4j",
      "description": "List of neo4j plugins. Please provide array of strings",
      "secret": false,
      "strategy": "default",
      "default": "[\"apoc\"]"
    },
    {
      "key": "PAGECACHE_SIZE",
      "service": "neo4j",
      "description": "Please do not update this value if you on a hobby plan or trial. For more info visit https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_server.memory.pagecache.size",
      "secret": false,
      "strategy": "default",
      "default": "4g"
    },
    {
      "key": "HEAP_INITIAL_SIZE",
      "service": "neo4j",
      "description": "Please do not update this value if you on a hobby plan or trial. For more info visit https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_server.memory.heap.initial_size",
      "secret": false,
      "strategy": "default",
      "default": "1g"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "asEF1B"
      }
    },
    "cli": "railway deploy --template asEF1B",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dd6674d2-0486-4abd-b2dd-c1d9adc63bbf",
            "serializedConfig": {
              "services": {
                "b2a809ec-a4be-4272-bb30-719bbfe26b01": {
                  "name": "neo4j",
                  "source": {
                    "repo": "sukrutnrvd/neo4j-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "DB_PASSWORD": {
                      "isOptional": false,
                      "description": "Must be at least 8 characters or it will crash during the deployment phase.",
                      "defaultValue": "{{DB_PASSWORD}}"
                    },
                    "HEAP_MAX_SIZE": {
                      "isOptional": false,
                      "description": "Please do not update this value if you on a hobby plan or trial. For more info visit https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_server.memory.heap.max_size",
                      "defaultValue": "1g"
                    },
                    "NEO4J_PLUGINS": {
                      "isOptional": false,
                      "description": "List of neo4j plugins. Please provide array of strings",
                      "defaultValue": "[\"apoc\"]"
                    },
                    "NODE_CSV_URLS": {
                      "isOptional": true,
                      "description": "Bulk insert only supported for csv files for now. You can provide your csv files by seperating them with comma.",
                      "defaultValue": ""
                    },
                    "PAGECACHE_SIZE": {
                      "isOptional": false,
                      "description": "Please do not update this value if you on a hobby plan or trial. For more info visit https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_server.memory.pagecache.size",
                      "defaultValue": "4g"
                    },
                    "HEAP_INITIAL_SIZE": {
                      "isOptional": false,
                      "description": "Please do not update this value if you on a hobby plan or trial. For more info visit https://neo4j.com/docs/operations-manual/current/configuration/configuration-settings/#config_server.memory.heap.initial_size",
                      "defaultValue": "1g"
                    },
                    "RELATION_CSV_URLS": {
                      "isOptional": true,
                      "description": "Bulk insert only supported for csv files for now. You can provide your csv files by seperating them with comma.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "7687": {}
                    }
                  },
                  "volumeMounts": {
                    "b2a809ec-a4be-4272-bb30-719bbfe26b01": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T16:14:56.866Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T08:56:23.526Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_49d2eb89e7114260a3e5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 142,
    "typical_build_seconds": 41,
    "typical_start_seconds": 10,
    "slowest_service": "neo4j"
  }
}
