{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2f8dc9c5-8d53-4f01-b305-fbf10c4bc84c",
    "slug": "liwan",
    "name": "Liwan",
    "description": "Lightweight Analytics | Posthog, Mixpanel, Google Analytics alternative",
    "url": "https://railway.com/deploy/liwan",
    "upstream": {
      "image": "ghcr.io/explodingcamera/liwan"
    }
  },
  "services": [
    {
      "name": "explodingcamera/liwan",
      "source": {
        "image": "ghcr.io/explodingcamera/liwan"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "explodingcamera/liwan",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "9042"
    },
    {
      "key": "LIWAN_BASE_URL",
      "service": "explodingcamera/liwan",
      "description": "Provide a value for LIWAN_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "liwan"
      }
    },
    "cli": "railway deploy --template liwan",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2f8dc9c5-8d53-4f01-b305-fbf10c4bc84c",
            "serializedConfig": {
              "services": {
                "a373b981-9b0a-4e3d-9323-a6c92a5c59f3": {
                  "name": "explodingcamera/liwan",
                  "source": {
                    "image": "ghcr.io/explodingcamera/liwan"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "9042"
                    },
                    "LIWAN_BASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "a373b981-9b0a-4e3d-9323-a6c92a5c59f3": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T23:11:50.680Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c8b0aef610d64cf6ae8b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 43,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "explodingcamera/liwan"
  }
}
