{
  "manifest_version": "1.0.0",
  "template": {
    "id": "de06ce0e-146c-48e5-811e-5073a7a625ef",
    "slug": "helix-foundry-1",
    "name": "helix-foundry",
    "description": "Self-hosted business analytics workspace with graph-aware insights",
    "url": "https://railway.com/deploy/helix-foundry-1",
    "upstream": {
      "image": "xiaosong233/helix-foundry-railway:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "helix",
      "source": {
        "image": "ghcr.io/helixdb/helixdb:v0.0.12@sha256:f22b50fdab8fadbf8b5a881e656f293fdf5c688bad018f503b8dbc2f0f29543d"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "app",
      "source": {
        "image": "xiaosong233/helix-foundry-railway:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HELIX_DATA_DIR",
      "service": "helix",
      "description": "Provide a value for HELIX_DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/helix"
    },
    {
      "key": "HOST",
      "service": "app",
      "description": "Provide a value for HOST.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PORT",
      "service": "app",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3001"
    },
    {
      "key": "DATA_DIR",
      "service": "app",
      "description": "Provide a value for DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "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": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "EXECUTOR_URL",
      "service": "app",
      "description": "Provide a value for EXECUTOR_URL.",
      "secret": false,
      "strategy": "default",
      "default": "http://127.0.0.1:3002"
    },
    {
      "key": "INTERNAL_KEY",
      "service": "app",
      "description": "Provide a value for INTERNAL_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DUCKDB_MEMORY",
      "service": "app",
      "description": "Provide a value for DUCKDB_MEMORY.",
      "secret": false,
      "strategy": "default",
      "default": "512MB"
    },
    {
      "key": "EXECUTOR_HOST",
      "service": "app",
      "description": "Provide a value for EXECUTOR_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "127.0.0.1"
    },
    {
      "key": "EXECUTOR_PORT",
      "service": "app",
      "description": "Provide a value for EXECUTOR_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3002"
    },
    {
      "key": "INLINE_WORKER",
      "service": "app",
      "description": "Provide a value for INLINE_WORKER.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "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": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "helix-foundry-1"
      }
    },
    "cli": "railway deploy --template helix-foundry-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "de06ce0e-146c-48e5-811e-5073a7a625ef",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "6de43681-c8e3-4656-9f20-670913de697b": {
                  "icon": null,
                  "name": "helix",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/helixdb/helixdb:v0.0.12@sha256:f22b50fdab8fadbf8b5a881e656f293fdf5c688bad018f503b8dbc2f0f29543d"
                  },
                  "variables": {
                    "HELIX_DATA_DIR": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "/var/lib/helix"
                    }
                  }
                },
                "7ff5d630-d8d8-440d-979b-bd3b8683165e": {
                  "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": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "xiaosong233/helix-foundry-railway:latest"
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "3001"
                    },
                    "DATA_DIR": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "/data"
                    },
                    "HELIX_URL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "http://${{helix.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "APP_ORIGIN": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "EXECUTOR_URL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "http://127.0.0.1:3002"
                    },
                    "INTERNAL_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "{{INTERNAL_KEY}}"
                    },
                    "DUCKDB_MEMORY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "512MB"
                    },
                    "EXECUTOR_HOST": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "127.0.0.1"
                    },
                    "EXECUTOR_PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "3002"
                    },
                    "INLINE_WORKER": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "true"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "{{ENCRYPTION_KEY}}"
                    },
                    "ALLOW_NETWORK_ACCESS": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3001": {
                        "port": 3001
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-10-26T10:14:45.716Z",
  "generator_version": "0.1.0"
}
