{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5b5c4c81-b334-4e3f-a3ef-2be0dbfc9895",
    "slug": "silverbullet-markdown-notes",
    "name": "SilverBullet — Self-Hosted Markdown Knowledge Base [Updated Sep'26]",
    "description": "Self-host SilverBullet — Markdown notes & queryable second brain",
    "url": "https://railway.com/deploy/silverbullet-markdown-notes",
    "upstream": {
      "image": "ghcr.io/silverbulletmd/silverbullet"
    }
  },
  "services": [
    {
      "name": "silverbullet",
      "source": {
        "image": "ghcr.io/silverbulletmd/silverbullet"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "silverbullet",
      "description": "HTTP port served and health-checked",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "SB_FOLDER",
      "service": "silverbullet",
      "description": "Server root, one level below the volume",
      "secret": false,
      "strategy": "default",
      "default": "/data/space"
    },
    {
      "key": "SB_SPACE_NAME",
      "service": "silverbullet",
      "description": "Name of the first space, bound at /",
      "secret": false,
      "strategy": "default",
      "default": "My Space"
    },
    {
      "key": "SB_ADMIN_PASSWORD",
      "service": "silverbullet",
      "description": "First administrator account password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SB_ADMIN_USERNAME",
      "service": "silverbullet",
      "description": "First administrator account username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "silverbullet",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "10"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "silverbullet-markdown-notes"
      }
    },
    "cli": "railway deploy --template silverbullet-markdown-notes",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5b5c4c81-b334-4e3f-a3ef-2be0dbfc9895",
            "serializedConfig": {
              "services": {
                "e13bc6cf-a001-4438-98ce-800c205c0954": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/silverbullet.png",
                  "name": "silverbullet",
                  "source": {
                    "image": "ghcr.io/silverbulletmd/silverbullet"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port served and health-checked",
                      "defaultValue": "3000"
                    },
                    "SB_FOLDER": {
                      "isOptional": false,
                      "description": "Server root, one level below the volume",
                      "defaultValue": "/data/space"
                    },
                    "SB_SPACE_NAME": {
                      "isOptional": false,
                      "description": "Name of the first space, bound at /",
                      "defaultValue": "My Space"
                    },
                    "SB_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First administrator account password",
                      "defaultValue": "{{SB_ADMIN_PASSWORD}}"
                    },
                    "SB_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First administrator account username",
                      "defaultValue": "admin"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "10"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "e13bc6cf-a001-4438-98ce-800c205c0954": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-14T16:14:52.837Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T16:12:11.857Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1fba2f734da14c7c9074",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 48,
    "typical_build_seconds": 0,
    "typical_start_seconds": 30,
    "slowest_service": "silverbullet"
  }
}
