{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1a4b6a65-77e1-4849-b663-1a83849a07ac",
    "slug": "trace-sync-server",
    "name": "Trace Sync Server",
    "description": "Tiny self-hosted sync server for Trace settings",
    "url": "https://railway.com/deploy/trace-sync-server",
    "upstream": {
      "repo_url": "https://github.com/arjunkomath/trace-sync-server"
    }
  },
  "services": [
    {
      "name": "trace-sync-server",
      "source": {
        "repo": "https://github.com/arjunkomath/trace-sync-server"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TRACE_SYNC_TOKEN",
      "service": "trace-sync-server",
      "description": "Shared bearer token",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "trace-sync-server"
      }
    },
    "cli": "railway deploy --template trace-sync-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1a4b6a65-77e1-4849-b663-1a83849a07ac",
            "serializedConfig": {
              "services": {
                "3e2fbd78-383d-47fb-bb47-2b8cc4c80508": {
                  "icon": "https://trace.techulus.xyz/apple-touch-icon.png",
                  "name": "trace-sync-server",
                  "deploy": {
                    "healthcheckPath": ""
                  },
                  "source": {
                    "repo": "arjunkomath/trace-sync-server",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "TRACE_SYNC_TOKEN": {
                      "isOptional": false,
                      "description": "Shared bearer token",
                      "defaultValue": "{{TRACE_SYNC_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8787": {
                        "port": 8787
                      }
                    }
                  },
                  "volumeMounts": {
                    "3e2fbd78-383d-47fb-bb47-2b8cc4c80508": {
                      "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": "validated",
  "validated_at": "2026-09-09T02:28:00.575Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_3b9779ab9cdd405693e7",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 68,
    "typical_build_seconds": 21,
    "typical_start_seconds": 10,
    "slowest_service": "trace-sync-server"
  }
}
