{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f6a7dd72-4a0f-40b8-ad20-235e70783a40",
    "slug": "reme",
    "name": "ReMe",
    "description": "Self-evolving Markdown memory your AI agents share over MCP",
    "url": "https://railway.com/deploy/reme",
    "upstream": {
      "repo_url": "https://github.com/RockinPaul/reme_railway_template"
    }
  },
  "services": [
    {
      "name": "reme",
      "source": {
        "repo": "https://github.com/RockinPaul/reme_railway_template"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "reme",
      "description": "The port Railway's healthcheck probes and the public domain targets. Leave as is.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "REME_PASSWORD",
      "service": "reme",
      "description": "The only credential protecting this deployment — ReMe has no authentication of its own. Gates the Studio UI, the HTTP API and the MCP endpoint. Read it from this service's variables after deploying.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REME_USERNAME",
      "service": "reme",
      "description": "Username for the same. It is only an identifier; change it here if you prefer another.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "reme"
      }
    },
    "cli": "railway deploy --template reme",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f6a7dd72-4a0f-40b8-ad20-235e70783a40",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "fcd1d639-a15e-450c-8f0e-35fa20d096b6": {
                  "icon": null,
                  "name": "reme",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/RockinPaul/reme_railway_template",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port Railway's healthcheck probes and the public domain targets. Leave as is.",
                      "defaultValue": "8080"
                    },
                    "LLM_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Enables auto_memory, auto_resource, auto_dream and proactive refresh. Search, read and write work without it.",
                      "defaultValue": ""
                    },
                    "LLM_BASE_URL": {
                      "isOptional": true,
                      "description": "Optional. Any OpenAI-compatible endpoint for the key above.",
                      "defaultValue": ""
                    },
                    "REME_PASSWORD": {
                      "isOptional": false,
                      "description": "The only credential protecting this deployment — ReMe has no authentication of its own. Gates the Studio UI, the HTTP API and the MCP endpoint. Read it from this service's variables after deploying.",
                      "defaultValue": "{{REME_PASSWORD}}"
                    },
                    "REME_USERNAME": {
                      "isOptional": false,
                      "description": "Username for the same. It is only an identifier; change it here if you prefer another.",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "fcd1d639-a15e-450c-8f0e-35fa20d096b6": {
                      "sizeMB": 5120,
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "reme",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T16:14:44.185Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-16T14:26:04.272Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_13de7b174dc747428775",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 150,
    "typical_build_seconds": 112,
    "typical_start_seconds": 20,
    "slowest_service": "reme"
  }
}
