{
  "manifest_version": "1.0.0",
  "template": {
    "id": "700c8820-cc4e-4ebe-9fa4-a475ed063578",
    "slug": "mailpit-1",
    "name": "Mailpit",
    "description": "Lightweight SMTP server & email testing tool with web UI",
    "url": "https://railway.com/deploy/mailpit-1",
    "upstream": {
      "image": "axllent/mailpit"
    }
  },
  "services": [
    {
      "name": "Mailpit",
      "source": {
        "image": "axllent/mailpit"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        1025
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MP_UI_AUTH",
      "service": "Mailpit",
      "description": "Credentials for accessing the Mailpit web UI in username:password format.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MP_DATABASE",
      "service": "Mailpit",
      "description": "File path used by Mailpit to store messages.",
      "secret": false,
      "strategy": "default",
      "default": "/data/mailpit.db"
    },
    {
      "key": "MP_SMTP_AUTH",
      "service": "Mailpit",
      "description": "SMTP authentication credentials in `username:password` format. Enables SMTP auth when set.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MP_SMTP_AUTH_ALLOW_INSECURE",
      "service": "Mailpit",
      "description": "Allows SMTP auth without TLS. If disabled, SMTP TLS certificates are required.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mailpit-1"
      }
    },
    "cli": "railway deploy --template mailpit-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "700c8820-cc4e-4ebe-9fa4-a475ed063578",
            "serializedConfig": {
              "services": {
                "ec0ea904-7154-414d-b728-20fdc34b515d": {
                  "icon": "https://mailpit.axllent.org/favicons/apple-touch-icon.png",
                  "name": "Mailpit",
                  "source": {
                    "image": "axllent/mailpit"
                  },
                  "variables": {
                    "MP_UI_AUTH": {
                      "isOptional": true,
                      "description": "Credentials for accessing the Mailpit web UI in username:password format.",
                      "defaultValue": "{{MP_UI_AUTH}}"
                    },
                    "MP_DATABASE": {
                      "isOptional": true,
                      "description": "File path used by Mailpit to store messages.",
                      "defaultValue": "/data/mailpit.db"
                    },
                    "MP_SMTP_AUTH": {
                      "isOptional": true,
                      "description": "SMTP authentication credentials in `username:password` format. Enables SMTP auth when set.",
                      "defaultValue": "{{MP_SMTP_AUTH}}"
                    },
                    "MP_SMTP_AUTH_ALLOW_INSECURE": {
                      "description": "Allows SMTP auth without TLS. If disabled, SMTP TLS certificates are required.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "1025": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:8025": {
                        "port": 8025
                      }
                    }
                  },
                  "volumeMounts": {
                    "ec0ea904-7154-414d-b728-20fdc34b515d": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T17:08:19.928Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_e09dbcfbd64f47eaab84",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 31,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Mailpit"
  }
}
