{
  "manifest_version": "1.0.0",
  "template": {
    "id": "34f78b56-73cd-47dd-a2c4-134d68630c56",
    "slug": "wJg5-W",
    "name": "superglue",
    "description": "Self-healing open source data connector.",
    "url": "https://railway.com/deploy/wJg5-W",
    "upstream": {
      "image": "ghcr.io/brody192/railway-public-to-private-proxy"
    }
  },
  "services": [
    {
      "name": "dashboard",
      "source": {
        "image": "ghcr.io/brody192/railway-public-to-private-proxy"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "server",
      "source": {
        "image": "superglueai/superglue"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PROXY_HOST",
      "service": "dashboard",
      "description": "Provide a value for PROXY_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PROXY_PORT",
      "service": "dashboard",
      "description": "Provide a value for PROXY_PORT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEB_PORT",
      "service": "server",
      "description": "Port for the web dashboard",
      "secret": false,
      "strategy": "default",
      "default": "3001"
    },
    {
      "key": "AUTH_TOKEN",
      "service": "server",
      "description": "Authentication token for API access",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STORAGE_DIR",
      "service": "server",
      "description": "if file, the path to the datastore directory",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "GRAPHQL_PORT",
      "service": "server",
      "description": "Port for the Superglue server",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "OPENAI_MODEL",
      "service": "server",
      "description": "OpenAI model to use. We recommend gpt-4o-2024-11-20",
      "secret": false,
      "strategy": "default",
      "default": "gpt-4o-2024-11-20"
    },
    {
      "key": "DATASTORE_TYPE",
      "service": "server",
      "description": "Datastore type (redis or memory or file)",
      "secret": false,
      "strategy": "default",
      "default": "file"
    },
    {
      "key": "OPENAI_API_KEY",
      "service": "server",
      "description": "Your OpenAI API key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "GRAPHQL_ENDPOINT",
      "service": "server",
      "description": "Endpoint for the graphql api (used so the web dashboard knows where to find the server)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "OPENAI_API_BASE_URL",
      "service": "server",
      "description": "Optional: Set a custom OpenAI API URL (for self-hosted models or proxies)",
      "secret": false,
      "strategy": "default",
      "default": "https://api.openai.com/v1"
    },
    {
      "key": "SCHEMA_GENERATION_MODEL",
      "service": "server",
      "description": "OpenAI model for schema generation. Should be a faster model than the general one.",
      "secret": false,
      "strategy": "default",
      "default": "gpt-4o-2024-11-20"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wJg5-W"
      }
    },
    "cli": "railway deploy --template wJg5-W",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "34f78b56-73cd-47dd-a2c4-134d68630c56",
            "serializedConfig": {
              "services": {
                "0caf0363-bd8e-47b5-ab21-1258eafc4706": {
                  "icon": null,
                  "name": "dashboard",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/brody192/railway-public-to-private-proxy"
                  },
                  "variables": {
                    "PROXY_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{server.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PROXY_PORT": {
                      "isOptional": false,
                      "defaultValue": "${{server.WEB_PORT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "99aceb4e-4375-484f-ad49-12b6c26e8a04": {
                  "icon": null,
                  "name": "server",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "superglueai/superglue"
                  },
                  "variables": {
                    "WEB_PORT": {
                      "isOptional": false,
                      "description": "Port for the web dashboard",
                      "defaultValue": "3001"
                    },
                    "AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Authentication token for API access",
                      "defaultValue": "{{AUTH_TOKEN}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": true,
                      "description": "if redis",
                      "defaultValue": ""
                    },
                    "REDIS_PORT": {
                      "isOptional": true,
                      "description": "if redis",
                      "defaultValue": ""
                    },
                    "STORAGE_DIR": {
                      "isOptional": true,
                      "description": "if file, the path to the datastore directory",
                      "defaultValue": "/data"
                    },
                    "GRAPHQL_PORT": {
                      "isOptional": false,
                      "description": "Port for the Superglue server",
                      "defaultValue": "3000"
                    },
                    "OPENAI_MODEL": {
                      "isOptional": false,
                      "description": "OpenAI model to use. We recommend gpt-4o-2024-11-20",
                      "defaultValue": "gpt-4o-2024-11-20"
                    },
                    "DATASTORE_TYPE": {
                      "isOptional": false,
                      "description": "Datastore type (redis or memory or file)",
                      "defaultValue": "file"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": false,
                      "description": "Your OpenAI API key",
                      "defaultValue": "{{OPENAI_API_KEY}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": true,
                      "description": "if redis",
                      "defaultValue": ""
                    },
                    "REDIS_USERNAME": {
                      "isOptional": true,
                      "description": "if redis",
                      "defaultValue": ""
                    },
                    "GRAPHQL_ENDPOINT": {
                      "isOptional": false,
                      "description": "Endpoint for the graphql api (used so the web dashboard knows where to find the server)",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OPENAI_API_BASE_URL": {
                      "isOptional": false,
                      "description": "Optional: Set a custom OpenAI API URL (for self-hosted models or proxies)",
                      "defaultValue": "https://api.openai.com/v1"
                    },
                    "SCHEMA_GENERATION_MODEL": {
                      "isOptional": false,
                      "description": "OpenAI model for schema generation. Should be a faster model than the general one.",
                      "defaultValue": "gpt-4o-2024-11-20"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "99aceb4e-4375-484f-ad49-12b6c26e8a04": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T09:11:59.523Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_e611c02771da49128626",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
