{
  "manifest_version": "1.0.0",
  "template": {
    "id": "34c9d919-82d8-4e3e-bc18-4182465bcf88",
    "slug": "whatsapp-monitor",
    "name": "WhatsApp Analytics",
    "description": "Track WhatsApp group activity with a real-time web dashboard",
    "url": "https://railway.com/deploy/whatsapp-monitor",
    "upstream": {
      "repo_url": "https://github.com/arloodots/WA-Monitor"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "WA-Monitor",
      "source": {
        "repo": "https://github.com/arloodots/WA-Monitor"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "WA-Monitor",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DATA_DIR",
      "service": "WA-Monitor",
      "description": "Provide a value for DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "./data"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "WA-Monitor",
      "description": "Provide a value for ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ADMIN_USERNAME",
      "service": "WA-Monitor",
      "description": "Provide a value for ADMIN_USERNAME.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "whatsapp-monitor"
      }
    },
    "cli": "railway deploy --template whatsapp-monitor",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "34c9d919-82d8-4e3e-bc18-4182465bcf88",
            "serializedConfig": {
              "services": {
                "f8d2a673-761e-4b1b-b3a9-a886d778938b": {
                  "name": "WA-Monitor",
                  "deploy": {
                    "healthcheckPath": "/health",
                    "restartPolicyMaxRetries": 3
                  },
                  "source": {
                    "repo": "arloodots/WA-Monitor",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "8080"
                    },
                    "DATA_DIR": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": "./data"
                    },
                    "ADMIN_PASSWORD": {
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "ADMIN_USERNAME": {
                      "defaultValue": "{{ADMIN_USERNAME}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "f8d2a673-761e-4b1b-b3a9-a886d778938b": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "WA-Monitor",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0"
}
