{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3394da26-2ac4-4e6f-a099-5d4dae0e457f",
    "slug": "atomic-1",
    "name": "Atomic",
    "description": "An AI-native knowledge graph that's yours end-to-end.",
    "url": "https://railway.com/deploy/atomic-1",
    "upstream": {
      "repo_url": "https://github.com/youssefsiam38/atomic-railway"
    }
  },
  "services": [
    {
      "name": "Atomic",
      "source": {
        "repo": "https://github.com/youssefsiam38/atomic-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST_PORT",
      "service": "Atomic",
      "description": "Provide a value for HOST_PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "PUBLIC_URL",
      "service": "Atomic",
      "description": "Public URL of this deployment. Used for OAuth / remote-MCP discovery. Leave as-is to auto-derive from Railway's public domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ATOMIC_SETUP_TOKEN",
      "service": "Atomic",
      "description": "Token used to claim the instance from the setup UI on first start. Generate with: openssl rand -base64 24",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "atomic-1"
      }
    },
    "cli": "railway deploy --template atomic-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3394da26-2ac4-4e6f-a099-5d4dae0e457f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5a991ec9-e766-4e94-9c94-142ed73f3259": {
                  "icon": "https://atomicapp.ai/favicon.svg",
                  "name": "Atomic",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/youssefsiam38/atomic-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "HOST_PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public URL of this deployment. Used for OAuth / remote-MCP discovery. Leave as-is to auto-derive from Railway's public domain.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ATOMIC_SETUP_TOKEN": {
                      "isOptional": false,
                      "description": "Token used to claim the instance from the setup UI on first start. Generate with: openssl rand -base64 24",
                      "defaultValue": "{{ATOMIC_SETUP_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "5a991ec9-e766-4e94-9c94-142ed73f3259": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-09T06:28:53.422Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_d5391a4674974b388e35",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "REMOVED"
      }
    ]
  }
}
