{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3e96402c-ba56-453f-b18b-ddfb9e969216",
    "slug": "sillytavern-official-image",
    "name": "SillyTavern (Official Image)",
    "description": "SillyTavern on the official image, password-protected, chats on a volume",
    "url": "https://railway.com/deploy/sillytavern-official-image",
    "upstream": {
      "image": "ghcr.io/sillytavern/sillytavern:latest"
    }
  },
  "services": [
    {
      "name": "sillytavern",
      "source": {
        "image": "ghcr.io/sillytavern/sillytavern:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/node/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SILLYTAVERN_URL",
      "service": "sillytavern",
      "description": "Open this and log in with the username and password above",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SILLYTAVERN_PORT",
      "service": "sillytavern",
      "description": "Port SillyTavern listens on",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "SILLYTAVERN_LISTEN",
      "service": "sillytavern",
      "description": "Accept connections from outside the container (needed on Railway)",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SILLYTAVERN_BASICAUTHMODE",
      "service": "sillytavern",
      "description": "Ask for a username and password on every visit",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SILLYTAVERN_WHITELISTMODE",
      "service": "sillytavern",
      "description": "IP whitelist off: Railway's proxy IPs change. The password protects the app instead",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SILLYTAVERN_HOSTWHITELIST_SCAN",
      "service": "sillytavern",
      "description": "Don't log a warning for every request to the Railway domain",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SILLYTAVERN_BROWSERLAUNCH_ENABLED",
      "service": "sillytavern",
      "description": "No browser inside the container",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SILLYTAVERN_BASICAUTHUSER_PASSWORD",
      "service": "sillytavern",
      "description": "Login password (generated)",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SILLYTAVERN_BASICAUTHUSER_USERNAME",
      "service": "sillytavern",
      "description": "Login username",
      "secret": false,
      "strategy": "default",
      "default": "user"
    },
    {
      "key": "SILLYTAVERN_RATELIMITING_PREFERREALIPHEADER",
      "service": "sillytavern",
      "description": "Rate-limit logins per visitor IP (from Railway's proxy headers), not per proxy",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "sillytavern-official-image"
      }
    },
    "cli": "railway deploy --template sillytavern-official-image",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3e96402c-ba56-453f-b18b-ddfb9e969216",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "fa92e0e2-1db5-47ff-b44d-a1e9df332d48": {
                  "icon": "https://raw.githubusercontent.com/SillyTavern/SillyTavern/06bde939fb1e9c4c8d8641d810f0a916b5bce127/public/img/apple-icon-144x144.png",
                  "name": "sillytavern",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/sillytavern/sillytavern:latest"
                  },
                  "variables": {
                    "SILLYTAVERN_URL": {
                      "isOptional": false,
                      "description": "Open this and log in with the username and password above",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SILLYTAVERN_PORT": {
                      "isOptional": false,
                      "description": "Port SillyTavern listens on",
                      "defaultValue": "8000"
                    },
                    "SILLYTAVERN_LISTEN": {
                      "isOptional": false,
                      "description": "Accept connections from outside the container (needed on Railway)",
                      "defaultValue": "true"
                    },
                    "SILLYTAVERN_BASICAUTHMODE": {
                      "isOptional": false,
                      "description": "Ask for a username and password on every visit",
                      "defaultValue": "true"
                    },
                    "SILLYTAVERN_WHITELISTMODE": {
                      "isOptional": false,
                      "description": "IP whitelist off: Railway's proxy IPs change. The password protects the app instead",
                      "defaultValue": "false"
                    },
                    "SILLYTAVERN_HOSTWHITELIST_SCAN": {
                      "isOptional": false,
                      "description": "Don't log a warning for every request to the Railway domain",
                      "defaultValue": "false"
                    },
                    "SILLYTAVERN_BROWSERLAUNCH_ENABLED": {
                      "isOptional": false,
                      "description": "No browser inside the container",
                      "defaultValue": "false"
                    },
                    "SILLYTAVERN_BASICAUTHUSER_PASSWORD": {
                      "isOptional": false,
                      "description": "Login password (generated)",
                      "defaultValue": "{{SILLYTAVERN_BASICAUTHUSER_PASSWORD}}"
                    },
                    "SILLYTAVERN_BASICAUTHUSER_USERNAME": {
                      "isOptional": false,
                      "description": "Login username",
                      "defaultValue": "user"
                    },
                    "SILLYTAVERN_RATELIMITING_PREFERREALIPHEADER": {
                      "isOptional": false,
                      "description": "Rate-limit logins per visitor IP (from Railway's proxy headers), not per proxy",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "55db59b5-4df2-40c2-8665-add13c1727eb": {
                      "mountPath": "/home/node/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-25T16:14:54.488Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-25T14:48:16.443Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_bee161617271474daba1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 23,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "sillytavern"
  }
}
