{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ee2a1bd9-81c6-4f17-9927-4c9cec3eadc0",
    "slug": "graphiti-neo4j",
    "name": "Graphiti + Neo4j",
    "description": "Build Real-Time Knowledge Graphs for AI Agents",
    "url": "https://railway.com/deploy/graphiti-neo4j",
    "upstream": {
      "image": "zepai/graphiti:latest"
    }
  },
  "services": [
    {
      "name": "neo4j",
      "source": {
        "image": "neo4j:5.26.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        7687
      ],
      "http": false
    },
    {
      "name": "graphiti",
      "source": {
        "image": "zepai/graphiti:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DB_USER",
      "service": "neo4j",
      "description": "Provide a value for DB_USER.",
      "secret": false,
      "strategy": "default",
      "default": "neo4j"
    },
    {
      "key": "NEO4J_AUTH",
      "service": "neo4j",
      "description": "Username and password for neo4j database access",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_PASSWORD",
      "service": "neo4j",
      "description": "Provide a value for DB_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NEO4J_PLUGINS",
      "service": "neo4j",
      "description": "List of neo4j plugins. Please provide array of strings",
      "secret": false,
      "strategy": "default",
      "default": "[\"apoc\"]"
    },
    {
      "key": "NEO4J_dbms_logs_http_enabled",
      "service": "neo4j",
      "description": "Enables HTTP traffic logging for REST and Bolt-over-HTTP connections.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NEO4J_server_logs_gc_enabled",
      "service": "neo4j",
      "description": "Enables logging of JVM Garbage Collection (GC) events for performance monitoring.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "NEO4J_server_memory_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_server_memory_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": "NEO4J_server_memory_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"
    },
    {
      "key": "NEO4J_db_logs_query_transaction_enabled",
      "service": "neo4j",
      "description": "Enables detailed transaction logging for queries (very verbose output).",
      "secret": false,
      "strategy": "default",
      "default": "VERBOSE"
    },
    {
      "key": "PORT",
      "service": "graphiti",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "NEO4J_URI",
      "service": "graphiti",
      "description": "Provide a value for NEO4J_URI.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEO4J_USER",
      "service": "graphiti",
      "description": "Provide a value for NEO4J_USER.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "db_backend",
      "service": "graphiti",
      "description": "Provide a value for db_backend.",
      "secret": false,
      "strategy": "default",
      "default": "neo4j"
    },
    {
      "key": "NEO4J_PASSWORD",
      "service": "graphiti",
      "description": "Provide a value for NEO4J_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "graphiti",
      "description": "Provide a value for OPENAI_API_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "graphiti",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "graphiti-neo4j"
      }
    },
    "cli": "railway deploy --template graphiti-neo4j",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ee2a1bd9-81c6-4f17-9927-4c9cec3eadc0",
            "serializedConfig": {
              "services": {
                "5361fe7a-9427-419f-a042-62ef4dc9110e": {
                  "icon": "https://cdn.jsdelivr.net/gh/devicons/devicon@latest/icons/neo4j/neo4j-original-wordmark.svg",
                  "name": "neo4j",
                  "source": {
                    "image": "neo4j:5.26.2"
                  },
                  "variables": {
                    "DB_USER": {
                      "defaultValue": "neo4j"
                    },
                    "NEO4J_AUTH": {
                      "description": "Username and password for neo4j database access",
                      "defaultValue": "${{DB_USER}}/${{DB_PASSWORD}}"
                    },
                    "DB_PASSWORD": {
                      "defaultValue": "{{DB_PASSWORD}}"
                    },
                    "NEO4J_PLUGINS": {
                      "description": "List of neo4j plugins. Please provide array of strings",
                      "defaultValue": "[\"apoc\"]"
                    },
                    "NEO4J_dbms_logs_http_enabled": {
                      "description": "Enables HTTP traffic logging for REST and Bolt-over-HTTP connections.",
                      "defaultValue": "true"
                    },
                    "NEO4J_server_logs_gc_enabled": {
                      "description": "Enables logging of JVM Garbage Collection (GC) events for performance monitoring.",
                      "defaultValue": "true"
                    },
                    "NEO4J_server_memory_heap_max__size": {
                      "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_server_memory_pagecache_size": {
                      "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"
                    },
                    "NEO4J_server_memory_heap_initial__size": {
                      "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"
                    },
                    "NEO4J_db_logs_query_transaction_enabled": {
                      "description": "Enables detailed transaction logging for queries (very verbose output).",
                      "defaultValue": "VERBOSE"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "7687": {}
                    }
                  },
                  "volumeMounts": {
                    "5361fe7a-9427-419f-a042-62ef4dc9110e": {
                      "mountPath": "/data"
                    }
                  }
                },
                "e5bd5349-d986-4dbd-bd72-7adf6735f355": {
                  "icon": "https://i.ibb.co/j9YM427s/132832125-s-200-v-4.png",
                  "name": "graphiti",
                  "deploy": {
                    "healthcheckPath": "/healthcheck"
                  },
                  "source": {
                    "image": "zepai/graphiti:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8000"
                    },
                    "NEO4J_URI": {
                      "isOptional": false,
                      "defaultValue": "neo4j://${{neo4j.RAILWAY_TCP_PROXY_DOMAIN}}:${{neo4j.RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "NEO4J_USER": {
                      "isOptional": false,
                      "defaultValue": "${{neo4j.DB_USER}}"
                    },
                    "db_backend": {
                      "isOptional": false,
                      "defaultValue": "neo4j"
                    },
                    "NEO4J_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{neo4j.DB_PASSWORD}}"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "defaultValue": "0"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "graphiti",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-15T16:14:47.755Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T01:33:45.453Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_3065c51f6d694fd091ad",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 104,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "graphiti"
  }
}
