{
  "manifest_version": "1.0.0",
  "template": {
    "id": "66f98064-2b18-46b5-8a1c-a48058bc32d0",
    "slug": "notediscovery",
    "name": "NoteDiscovery - self-hosted Notion and Evernote alternative",
    "description": "Self-hosted Markdown notes with search, backlinks, graph view and auth.",
    "url": "https://railway.com/deploy/notediscovery",
    "upstream": {
      "image": "ghcr.io/gamosoft/notediscovery:latest"
    }
  },
  "services": [
    {
      "name": "gamosoft/notediscovery:latest",
      "source": {
        "image": "ghcr.io/gamosoft/notediscovery:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "gamosoft/notediscovery:latest",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "notediscovery"
      }
    },
    "cli": "railway deploy --template notediscovery",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "66f98064-2b18-46b5-8a1c-a48058bc32d0",
            "serializedConfig": {
              "services": {
                "a5939b73-5b6f-46bb-b329-1319854565ec": {
                  "name": "gamosoft/notediscovery:latest",
                  "source": {
                    "image": "ghcr.io/gamosoft/notediscovery:latest"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "8000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "a5939b73-5b6f-46bb-b329-1319854565ec": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T04:14:35.474Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-16T08:28:19.743Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d9c9eb333553416a88bb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 76,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "gamosoft/notediscovery:latest"
  }
}
