{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b4155a7e-1dff-4073-9e24-854db4cd347a",
    "slug": "rqlite-1",
    "name": "rqlite",
    "description": "Lightweight distributed relational database built on SQLite",
    "url": "https://railway.com/deploy/rqlite-1",
    "upstream": {
      "image": "rqlite/rqlite:10.6.5"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "rqlite",
      "source": {
        "image": "rqlite/rqlite:10.6.5"
      },
      "needs_volume": true,
      "volume_mount_path": "/rqlite/file",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "RQLITE_USER",
      "service": "rqlite",
      "description": "Provide a value for RQLITE_USER.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "rqlite",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RQLITE_PASSWORD",
      "service": "rqlite",
      "description": "Provide a value for RQLITE_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rqlite-1"
      }
    },
    "cli": "railway deploy --template rqlite-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b4155a7e-1dff-4073-9e24-854db4cd347a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0bebe2b7-7a3b-4505-9dde-949fc6e62447": {
                  "icon": null,
                  "name": "rqlite",
                  "deploy": {
                    "startCommand": "sh -c 'printf \"[{\\\"username\\\":\\\"%s\\\",\\\"password\\\":\\\"%s\\\",\\\"perms\\\":[\\\"all\\\"]},{\\\"username\\\":\\\"*\\\",\\\"perms\\\":[\\\"ready\\\"]}]\" \"$RQLITE_USER\" \"$RQLITE_PASSWORD\" > /tmp/auth.json && exec rqlited -auth /tmp/auth.json -node-id 1 -http-addr 0.0.0.0:4001 -http-adv-addr 127.0.0.1:4001 -raft-addr 0.0.0.0:4002 -raft-adv-addr 127.0.0.1:4002 /rqlite/file/data'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "rqlite/rqlite:10.6.5"
                  },
                  "variables": {
                    "RQLITE_USER": {
                      "isOptional": false,
                      "defaultValue": "{{RQLITE_USER}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "${{randomInt(0, 0)}}"
                    },
                    "RQLITE_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{RQLITE_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4001": {
                        "port": 4001
                      }
                    }
                  },
                  "volumeMounts": {
                    "0bebe2b7-7a3b-4505-9dde-949fc6e62447": {
                      "mountPath": "/rqlite/file"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-26T22:14:46.852Z",
  "generator_version": "0.1.0"
}
