{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3dc6a53a-ad6a-4ab7-8ef3-cdf9ceb19ad4",
    "slug": "memos-sqlite",
    "name": "Memos + SQLite",
    "description": "An open-source, self-hosted note-taking service",
    "url": "https://railway.com/deploy/memos-sqlite",
    "upstream": {
      "image": "neosmemo/memos:stable"
    }
  },
  "services": [
    {
      "name": "memos",
      "source": {
        "image": "neosmemo/memos:stable"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/opt/memos",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MEMOS_INSTANCE_URL",
      "service": "memos",
      "description": "Memos Instance URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "memos-sqlite"
      }
    },
    "cli": "railway deploy --template memos-sqlite",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3dc6a53a-ad6a-4ab7-8ef3-cdf9ceb19ad4",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "49844bc5-5d94-4f23-b012-d5e8e0b9d573": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/memos.png",
                  "name": "memos",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "neosmemo/memos:stable"
                  },
                  "variables": {
                    "MEMOS_INSTANCE_URL": {
                      "isOptional": false,
                      "description": "Memos Instance URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5230": {
                        "port": 5230
                      }
                    }
                  },
                  "volumeMounts": {
                    "49844bc5-5d94-4f23-b012-d5e8e0b9d573": {
                      "mountPath": "/var/opt/memos"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T20:36:57.202Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0c0c000c62fb448f9838",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 62,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "memos"
  }
}
