{
  "manifest_version": "1.0.0",
  "template": {
    "id": "07c6c5b6-4924-488c-9dd3-db431cf7251a",
    "slug": "neo4j-graph-database",
    "name": "Neo4j | Open Source Graph Database",
    "description": "Self-host Neo4j. Graph database with ACID, vector search & GraphRAG",
    "url": "https://railway.com/deploy/neo4j-graph-database",
    "upstream": {
      "image": "neo4j:5.26-community"
    }
  },
  "services": [
    {
      "name": "Neo4j",
      "source": {
        "image": "neo4j:5.26-community"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NEO4J_AUTH",
      "service": "Neo4j",
      "description": "Initial admin username and password",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NEO4J_PLUGINS",
      "service": "Neo4j",
      "description": "Auto-install APOC plugin at startup",
      "secret": false,
      "strategy": "default",
      "default": "[\"apoc\"]"
    },
    {
      "key": "NEO4J_server_memory_heap_max__size",
      "service": "Neo4j",
      "description": "JVM maximum heap allocation",
      "secret": false,
      "strategy": "default",
      "default": "512m"
    },
    {
      "key": "NEO4J_server_memory_pagecache_size",
      "service": "Neo4j",
      "description": "Page cache for graph data",
      "secret": false,
      "strategy": "default",
      "default": "512m"
    },
    {
      "key": "NEO4J_server_bolt_advertised__address",
      "service": "Neo4j",
      "description": "Bolt driver connection address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEO4J_server_default__listen__address",
      "service": "Neo4j",
      "description": "Bind to all interfaces for Railway proxy",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "NEO4J_server_memory_heap_initial__size",
      "service": "Neo4j",
      "description": "JVM initial heap allocation",
      "secret": false,
      "strategy": "default",
      "default": "512m"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "neo4j-graph-database"
      }
    },
    "cli": "railway deploy --template neo4j-graph-database",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "07c6c5b6-4924-488c-9dd3-db431cf7251a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "70af62ad-357d-4753-80d5-efd411ed5b4c": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/neo4j.svg",
                  "name": "Neo4j",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "neo4j:5.26-community"
                  },
                  "variables": {
                    "NEO4J_AUTH": {
                      "isOptional": false,
                      "description": "Initial admin username and password",
                      "defaultValue": "{{NEO4J_AUTH}}"
                    },
                    "NEO4J_PLUGINS": {
                      "isOptional": false,
                      "description": "Auto-install APOC plugin at startup",
                      "defaultValue": "[\"apoc\"]"
                    },
                    "NEO4J_server_memory_heap_max__size": {
                      "isOptional": false,
                      "description": "JVM maximum heap allocation",
                      "defaultValue": "512m"
                    },
                    "NEO4J_server_memory_pagecache_size": {
                      "isOptional": false,
                      "description": "Page cache for graph data",
                      "defaultValue": "512m"
                    },
                    "NEO4J_server_bolt_advertised__address": {
                      "isOptional": false,
                      "description": "Bolt driver connection address",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "NEO4J_server_default__listen__address": {
                      "isOptional": false,
                      "description": "Bind to all interfaces for Railway proxy",
                      "defaultValue": "0.0.0.0"
                    },
                    "NEO4J_server_memory_heap_initial__size": {
                      "isOptional": false,
                      "description": "JVM initial heap allocation",
                      "defaultValue": "512m"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "70af62ad-357d-4753-80d5-efd411ed5b4c": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T14:11:28.980Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_19e6258683894db9bf98",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "CRASHED"
      }
    ]
  }
}
