{
  "manifest_version": "1.0.0",
  "template": {
    "id": "15f4790c-d9ad-44fb-a867-c63bc0f390a8",
    "slug": "neo4j-or-open-source-graph-database-with",
    "name": "Neo4j | Open Source Graph Database with Cypher",
    "description": "Graph database with Cypher, APOC plugins and external Bolt access",
    "url": "https://railway.com/deploy/neo4j-or-open-source-graph-database-with",
    "upstream": {
      "image": "neo4j:5.26.30-community"
    }
  },
  "services": [
    {
      "name": "Neo4j",
      "source": {
        "image": "neo4j:5.26.30-community"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        7687
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NEO4J_AUTH",
      "service": "Neo4j",
      "description": "Initial credentials as user/password. Generated on deploy; change it later with ALTER CURRENT USER SET PASSWORD.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NEO4J_PLUGINS",
      "service": "Neo4j",
      "description": "Plugins installed on first boot. APOC is the standard procedure library.",
      "secret": false,
      "strategy": "default",
      "default": "[\"apoc\"]"
    },
    {
      "key": "NEO4J_server_memory_heap_max__size",
      "service": "Neo4j",
      "description": "JVM heap maximum. Raise together with the page cache for larger graphs.",
      "secret": false,
      "strategy": "default",
      "default": "512m"
    },
    {
      "key": "NEO4J_server_memory_pagecache_size",
      "service": "Neo4j",
      "description": "Page cache holding graph data in memory. Size it to your working set.",
      "secret": false,
      "strategy": "default",
      "default": "512m"
    },
    {
      "key": "NEO4J_server_bolt_advertised__address",
      "service": "Neo4j",
      "description": "Bolt address advertised to drivers and Neo4j Browser. Points at the Railway TCP proxy.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEO4J_server_default__listen__address",
      "service": "Neo4j",
      "description": "Bind address. Railway's private network is IPv6-only, so :: is required.",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "NEO4J_server_http_advertised__address",
      "service": "Neo4j",
      "description": "Public HTTPS address of Neo4j Browser.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NEO4J_server_memory_heap_initial__size",
      "service": "Neo4j",
      "description": "JVM heap initial size. Keep equal to the maximum to avoid resizing pauses.",
      "secret": false,
      "strategy": "default",
      "default": "512m"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "neo4j-or-open-source-graph-database-with"
      }
    },
    "cli": "railway deploy --template neo4j-or-open-source-graph-database-with",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "15f4790c-d9ad-44fb-a867-c63bc0f390a8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ff4b7b27-2f41-4121-b3e6-6ed2905ad08c": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/neo4j.svg",
                  "name": "Neo4j",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "neo4j:5.26.30-community"
                  },
                  "variables": {
                    "NEO4J_AUTH": {
                      "isOptional": false,
                      "description": "Initial credentials as user/password. Generated on deploy; change it later with ALTER CURRENT USER SET PASSWORD.",
                      "defaultValue": "{{NEO4J_AUTH}}"
                    },
                    "NEO4J_PLUGINS": {
                      "isOptional": false,
                      "description": "Plugins installed on first boot. APOC is the standard procedure library.",
                      "defaultValue": "[\"apoc\"]"
                    },
                    "NEO4J_server_memory_heap_max__size": {
                      "isOptional": false,
                      "description": "JVM heap maximum. Raise together with the page cache for larger graphs.",
                      "defaultValue": "512m"
                    },
                    "NEO4J_server_memory_pagecache_size": {
                      "isOptional": false,
                      "description": "Page cache holding graph data in memory. Size it to your working set.",
                      "defaultValue": "512m"
                    },
                    "NEO4J_server_bolt_advertised__address": {
                      "isOptional": false,
                      "description": "Bolt address advertised to drivers and Neo4j Browser. Points at the Railway TCP proxy.",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "NEO4J_server_default__listen__address": {
                      "isOptional": false,
                      "description": "Bind address. Railway's private network is IPv6-only, so :: is required.",
                      "defaultValue": "::"
                    },
                    "NEO4J_server_http_advertised__address": {
                      "isOptional": false,
                      "description": "Public HTTPS address of Neo4j Browser.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}:443"
                    },
                    "NEO4J_server_memory_heap_initial__size": {
                      "isOptional": false,
                      "description": "JVM heap initial size. Keep equal to the maximum to avoid resizing pauses.",
                      "defaultValue": "512m"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "7687": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:7474": {
                        "port": 7474
                      }
                    }
                  },
                  "volumeMounts": {
                    "ff4b7b27-2f41-4121-b3e6-6ed2905ad08c": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Neo4j",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-18T22:14:40.474Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-17T10:26:41.916Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_f18911537fa54b0cad20",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
