{
  "manifest_version": "1.0.0",
  "template": {
    "id": "718b747e-4e89-4545-b215-a6285aaf738e",
    "slug": "deploy-notesd-markdown-notes-server",
    "name": "notesd",
    "description": "Self-hosted Markdown notes with offline mobile apps and sync.",
    "url": "https://railway.com/deploy/deploy-notesd-markdown-notes-server",
    "upstream": {
      "image": "ghcr.io/onepush-dev/notesd:1.5.1"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "notesd",
      "source": {
        "image": "ghcr.io/onepush-dev/notesd:1.5.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "NOTESD_OWNER_PASSWORD",
      "service": "notesd",
      "description": "Password for the owner account 'admin', generated per deploy; notesd creates the owner with it on first start so sign-up is never open.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "deploy-notesd-markdown-notes-server"
      }
    },
    "cli": "railway deploy --template deploy-notesd-markdown-notes-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "718b747e-4e89-4545-b215-a6285aaf738e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "6a60437e-b792-40b5-ada5-242a7631eb93": {
                  "icon": "https://raw.githubusercontent.com/cassiozen/notesd/v1.5.1/apps/web/src/ui/mark.png",
                  "name": "notesd",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/readyz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/onepush-dev/notesd:1.5.1"
                  },
                  "variables": {
                    "NOTESD_OWNER_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the owner account 'admin', generated per deploy; notesd creates the owner with it on first start so sign-up is never open.",
                      "defaultValue": "{{NOTESD_OWNER_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "6a60437e-b792-40b5-ada5-242a7631eb93": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "notesd",
      "method": "GET",
      "path": "/readyz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-10T10:15:11.018Z",
  "generator_version": "0.1.0"
}
