{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4f6ddb79-fc2a-4160-acf8-614e4dfca814",
    "slug": "CxB19j",
    "name": "crabdis",
    "description": "It's like Redis but a bit rusty...",
    "url": "https://railway.com/deploy/CxB19j",
    "upstream": {
      "image": "pxseu/crabdis"
    }
  },
  "services": [
    {
      "name": "crabdis",
      "source": {
        "image": "pxseu/crabdis"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "crabdis",
      "description": "DNS hostname to use in railway private networking",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "crabdis",
      "description": "Port on which to listen",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "crabdis",
      "description": "Username for auth",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "crabdis",
      "description": "Internal url for to connect to `crabdis`",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "crabdis",
      "description": "Auto generated password for `crabdis`.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "crabdis",
      "description": "Public url for the instance, if created with a TCP Proxy",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "crabdis",
      "description": "The SIGTERM to SIGKILL buffer time (in seconds). This allows crabdis to save the data, then quit happily.",
      "secret": false,
      "strategy": "default",
      "default": "30"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "CxB19j"
      }
    },
    "cli": "railway deploy --template CxB19j",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4f6ddb79-fc2a-4160-acf8-614e4dfca814",
            "serializedConfig": {
              "services": {
                "01e83197-82ca-42ef-a25b-f6cca82e787b": {
                  "icon": "https://cdn.pxseu.com/crabdis.png?v=1",
                  "name": "crabdis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"/usr/local/bin/crabdis --address :: --save \\\"60 1\\\" --requirepass $REDISPASSWORD --dir $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "pxseu/crabdis",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 1,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 2,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 3,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 4,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 5,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 6,
                          "endHour": 6,
                          "startHour": 2
                        }
                      ]
                    }
                  },
                  "variables": {
                    "REDISHOST": {
                      "description": "DNS hostname to use in railway private networking",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "description": "Port on which to listen",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "description": "Username for auth",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "description": "Internal url for to connect to `crabdis`",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDISPASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "description": "Auto generated password for `crabdis`.",
                      "defaultValue": "{{REDISPASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": true,
                      "description": "Public url for the instance, if created with a TCP Proxy",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDISPASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "The SIGTERM to SIGKILL buffer time (in seconds). This allows crabdis to save the data, then quit happily.",
                      "defaultValue": "30"
                    }
                  },
                  "volumeMounts": {
                    "01e83197-82ca-42ef-a25b-f6cca82e787b": {
                      "mountPath": "/data",
                      "backupSchedules": null
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T11:49:37.301Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c198fa01090e4ee3bc96",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 93,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "crabdis"
  }
}
