{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ad0de9c1-a9c2-49b8-8ed3-22230d1aabc6",
    "slug": "helix-foundry",
    "name": "helix-foundry",
    "description": "AI-assisted data workspace for connected ontology and analytics.",
    "url": "https://railway.com/deploy/helix-foundry",
    "upstream": {
      "image": "xiaosong233/helix-foundry-railway:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "helix",
      "source": {
        "image": "xiaosong233/helixdb-railway:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/helix",
      "http": false
    },
    {
      "name": "app",
      "source": {
        "image": "xiaosong233/helix-foundry-railway:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HELIX_DATA_DIR",
      "service": "helix",
      "description": "Provide a value for HELIX_DATA_DIR.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "HOST",
      "service": "app",
      "description": "Provide a value for HOST.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PORT",
      "service": "app",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATA_DIR",
      "service": "app",
      "description": "Provide a value for DATA_DIR.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "HELIX_URL",
      "service": "app",
      "description": "Provide a value for HELIX_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "APP_ORIGIN",
      "service": "app",
      "description": "Provide a value for APP_ORIGIN.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "EXECUTOR_URL",
      "service": "app",
      "description": "Provide a value for EXECUTOR_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "INTERNAL_KEY",
      "service": "app",
      "description": "Provide a value for INTERNAL_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "EXECUTOR_HOST",
      "service": "app",
      "description": "Provide a value for EXECUTOR_HOST.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "EXECUTOR_PORT",
      "service": "app",
      "description": "Provide a value for EXECUTOR_PORT.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "INLINE_WORKER",
      "service": "app",
      "description": "Provide a value for INLINE_WORKER.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "app",
      "description": "Provide a value for ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ALLOW_NETWORK_ACCESS",
      "service": "app",
      "description": "Provide a value for ALLOW_NETWORK_ACCESS.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "helix-foundry"
      }
    },
    "cli": "railway deploy --template helix-foundry",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ad0de9c1-a9c2-49b8-8ed3-22230d1aabc6",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0d52257e-40e8-4408-ba7f-58f96df251db": {
                  "icon": null,
                  "name": "helix",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "xiaosong233/helixdb-railway:latest"
                  },
                  "variables": {
                    "HELIX_DATA_DIR": {
                      "isOptional": false,
                      "defaultValue": "{{HELIX_DATA_DIR}}"
                    }
                  },
                  "volumeMounts": {
                    "0d52257e-40e8-4408-ba7f-58f96df251db": {
                      "mountPath": "/var/lib/helix"
                    }
                  }
                },
                "5a4ea529-ee51-4744-b016-85bc0c46fcb7": {
                  "icon": null,
                  "name": "app",
                  "deploy": {
                    "startCommand": "sh -c 'node --import tsx services/executor/src/server.ts & exec node --import tsx apps/api/src/server.ts'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "xiaosong233/helix-foundry-railway:latest"
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": false,
                      "defaultValue": "{{HOST}}"
                    },
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "{{PORT}}"
                    },
                    "DATA_DIR": {
                      "isOptional": false,
                      "defaultValue": "{{DATA_DIR}}"
                    },
                    "HELIX_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{helix.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "APP_ORIGIN": {
                      "isOptional": false,
                      "defaultValue": "{{APP_ORIGIN}}"
                    },
                    "EXECUTOR_URL": {
                      "isOptional": false,
                      "defaultValue": "{{EXECUTOR_URL}}"
                    },
                    "INTERNAL_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{INTERNAL_KEY}}"
                    },
                    "EXECUTOR_HOST": {
                      "isOptional": false,
                      "defaultValue": "{{EXECUTOR_HOST}}"
                    },
                    "EXECUTOR_PORT": {
                      "isOptional": false,
                      "defaultValue": "{{EXECUTOR_PORT}}"
                    },
                    "INLINE_WORKER": {
                      "isOptional": false,
                      "defaultValue": "{{INLINE_WORKER}}"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{ENCRYPTION_KEY}}"
                    },
                    "ALLOW_NETWORK_ACCESS": {
                      "isOptional": false,
                      "defaultValue": "{{ALLOW_NETWORK_ACCESS}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3001": {
                        "port": 3001
                      }
                    }
                  },
                  "volumeMounts": {
                    "5a4ea529-ee51-4744-b016-85bc0c46fcb7": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-16T10:14:44.004Z",
  "generator_version": "0.1.0"
}
