{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ac9bc70a-23b1-492a-83b8-d24093ffc93d",
    "slug": "jsMnJe",
    "name": "Trilium",
    "description": "Build your personal knowledge base with Trilium Notes.",
    "url": "https://railway.com/deploy/jsMnJe",
    "upstream": {
      "image": "zadam/trilium"
    }
  },
  "services": [
    {
      "name": "Trilium",
      "source": {
        "image": "zadam/trilium"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/node/trilium-data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Trilium",
      "description": "Default port of trilium",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "TRILIUM_DATA_DIR",
      "service": "Trilium",
      "description": "Path of the mounted volume",
      "secret": false,
      "strategy": "default",
      "default": "/home/node/trilium-data"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "jsMnJe"
      }
    },
    "cli": "railway deploy --template jsMnJe",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ac9bc70a-23b1-492a-83b8-d24093ffc93d",
            "serializedConfig": {
              "services": {
                "f81d80ef-4920-4126-8aa8-51fb4c402472": {
                  "name": "Trilium",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "zadam/trilium"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Default port of trilium",
                      "defaultValue": "8080"
                    },
                    "TRILIUM_DATA_DIR": {
                      "isOptional": true,
                      "description": "Path of the mounted volume",
                      "defaultValue": "/home/node/trilium-data"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "f81d80ef-4920-4126-8aa8-51fb4c402472": {
                      "mountPath": "/home/node/trilium-data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T16:03:19.340Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_474a2d91acd44dfe8ad0",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 96,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Trilium"
  }
}
