{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0ae62055-e1d7-43c1-9aeb-fc8162231aca",
    "slug": "modmail-logviewer",
    "name": "modmail-logviewer",
    "description": "This is a simple viewer for Modmail logs, hosted optionally.",
    "url": "https://railway.com/deploy/modmail-logviewer",
    "upstream": {
      "image": "ghcr.io/modmail-dev/logviewer:master"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "modmail-dev/logviewer:master",
      "source": {
        "image": "ghcr.io/modmail-dev/logviewer:master"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "CONNECTION_URI",
      "service": "modmail-dev/logviewer:master",
      "description": "The URI the bot will use to connect to your MongoDB instance.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "modmail-logviewer"
      }
    },
    "cli": "railway deploy --template modmail-logviewer",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0ae62055-e1d7-43c1-9aeb-fc8162231aca",
            "serializedConfig": {
              "services": {
                "3aa0a11b-330a-4b39-9d08-0203a98b6c6e": {
                  "name": "modmail-dev/logviewer:master",
                  "deploy": {
                    "restartPolicyMaxRetries": 3
                  },
                  "source": {
                    "image": "ghcr.io/modmail-dev/logviewer:master"
                  },
                  "variables": {
                    "CONNECTION_URI": {
                      "isOptional": false,
                      "description": "The URI the bot will use to connect to your MongoDB instance.",
                      "defaultValue": "{{CONNECTION_URI}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
