{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a6848f5a-ac8e-40d7-b077-94974d563df0",
    "slug": "5gOoRm",
    "name": "Enclosed",
    "description": "Minimalistic web app designed for sending private and secure notes.",
    "url": "https://railway.com/deploy/5gOoRm",
    "upstream": {
      "image": "corentinth/enclosed"
    }
  },
  "services": [
    {
      "name": "corentinth/enclosed",
      "source": {
        "image": "corentinth/enclosed"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "AUTHENTICATION_JWT_SECRET",
      "service": "corentinth/enclosed",
      "description": "The secret used to sign the JWT tokens when auth is enabled.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STORAGE_DRIVER_FS_LITE_PATH",
      "service": "corentinth/enclosed",
      "description": "The path to the directory where the data will be stored.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "5gOoRm"
      }
    },
    "cli": "railway deploy --template 5gOoRm",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a6848f5a-ac8e-40d7-b077-94974d563df0",
            "serializedConfig": {
              "services": {
                "129020a3-f7eb-4490-b887-3dc3ebedd5ca": {
                  "name": "corentinth/enclosed",
                  "source": {
                    "image": "corentinth/enclosed"
                  },
                  "variables": {
                    "AUTHENTICATION_JWT_SECRET": {
                      "isOptional": true,
                      "description": "The secret used to sign the JWT tokens when auth is enabled.",
                      "defaultValue": "{{AUTHENTICATION_JWT_SECRET}}"
                    },
                    "STORAGE_DRIVER_FS_LITE_PATH": {
                      "isOptional": false,
                      "description": "The path to the directory where the data will be stored.",
                      "defaultValue": "/data"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "129020a3-f7eb-4490-b887-3dc3ebedd5ca": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-13T16:14:48.926Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-12T08:39:10.328Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_fa0d75b592da437b94fb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 82,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "corentinth/enclosed"
  }
}
