{
  "manifest_version": "1.0.0",
  "template": {
    "id": "cab643ba-6b4b-4e54-8b1b-bf5409072ea4",
    "slug": "sillytavern-private-instance",
    "name": "SillyTavern",
    "description": "Self-host SillyTavern [Oct'26]— character chat, your keys, basic auth",
    "url": "https://railway.com/deploy/sillytavern-private-instance",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/sillytavern-railway"
    }
  },
  "services": [
    {
      "name": "sillytavern",
      "source": {
        "repo": "https://github.com/gridalpha/sillytavern-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/node/app/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "sillytavern",
      "description": "HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "ST_ADMIN_PASSWORD",
      "service": "sillytavern",
      "description": "Password for the default-user admin",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "sillytavern",
      "description": "Dockerfile location in the repo",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    },
    {
      "key": "SILLYTAVERN_SESSIONTIMEOUT",
      "service": "sillytavern",
      "description": "Session inactivity timeout, seconds",
      "secret": false,
      "strategy": "default",
      "default": "604800"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "sillytavern-private-instance"
      }
    },
    "cli": "railway deploy --template sillytavern-private-instance",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "cab643ba-6b4b-4e54-8b1b-bf5409072ea4",
            "serializedConfig": {
              "services": {
                "e10cf975-abc6-449d-aacd-09c51385b074": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/sillytavern.png",
                  "name": "sillytavern",
                  "source": {
                    "repo": "gridalpha/sillytavern-railway"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP listening port",
                      "defaultValue": "8000"
                    },
                    "ST_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the default-user admin",
                      "defaultValue": "{{ST_ADMIN_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile location in the repo",
                      "defaultValue": "Dockerfile"
                    },
                    "SILLYTAVERN_SESSIONTIMEOUT": {
                      "isOptional": false,
                      "description": "Session inactivity timeout, seconds",
                      "defaultValue": "604800"
                    }
                  },
                  "volumeMounts": {
                    "e10cf975-abc6-449d-aacd-09c51385b074": {
                      "mountPath": "/home/node/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-02T10:14:47.100Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-02T08:22:55.900Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f54f57e640be46feb97c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 58,
    "typical_build_seconds": 32,
    "typical_start_seconds": 10,
    "slowest_service": "sillytavern"
  }
}
