{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a99f435b-66ff-43ca-a7c7-0ae375b37c80",
    "slug": "static-bucket-server-gui",
    "name": "Static Bucket Server + GUI",
    "description": "Allow public GET on your buckets + and private file management.",
    "url": "https://railway.com/deploy/static-bucket-server-gui",
    "upstream": {
      "repo_url": "https://github.com/signalor/static"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "static",
      "source": {
        "repo": "https://github.com/signalor/static"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REGION",
      "service": "static",
      "description": "Region where the bucket is stored.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ENDPOINT",
      "service": "static",
      "description": "The S3-compatible endpoint that the bucket is served at.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NODE_ENV",
      "service": "static",
      "description": "Change logging behavior",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "BUCKET_NAMES",
      "service": "static",
      "description": "The names of the buckets you want to server/access. Separate by comma like \"bucket1,bucket2\"",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ACCESS_KEY_ID",
      "service": "static",
      "description": "Access Key ID for the bucket.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PRIVATE_TOKEN",
      "service": "static",
      "description": "Password to gain access to the GUI. Should be >32 characters long.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SECRET_ACCESS_KEY",
      "service": "static",
      "description": "Secret Access Key for the bucket",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RATE_LIMIT_WINDOW_MS",
      "service": "static",
      "description": "The window to reset RATE_LIMIT_MAX_REQUESTS counter.",
      "secret": false,
      "strategy": "default",
      "default": "1800000"
    },
    {
      "key": "RATE_LIMIT_MAX_REQUESTS",
      "service": "static",
      "description": "Max requests for WINDOW_MS milliseconds on the auth endpoint, across all replicas (to prevent region switching to bypass auth, only if REDIS_URL is provided)",
      "secret": false,
      "strategy": "default",
      "default": "10"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "static-bucket-server-gui"
      }
    },
    "cli": "railway deploy --template static-bucket-server-gui",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a99f435b-66ff-43ca-a7c7-0ae375b37c80",
            "serializedConfig": {
              "services": {
                "7fc5668b-feb7-4731-8fdb-42d9f3b54223": {
                  "icon": "https://static-production-eba5.up.railway.app/static/bucket.svg",
                  "name": "static",
                  "source": {
                    "repo": "signalor/static",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "REGION": {
                      "description": "Region where the bucket is stored.",
                      "defaultValue": "{{REGION}}"
                    },
                    "ENDPOINT": {
                      "description": "The S3-compatible endpoint that the bucket is served at.",
                      "defaultValue": "{{ENDPOINT}}"
                    },
                    "NODE_ENV": {
                      "description": "Change logging behavior",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Enables cross-replica ratelimiting of auth endpoints.",
                      "defaultValue": ""
                    },
                    "BUCKET_NAMES": {
                      "description": "The names of the buckets you want to server/access. Separate by comma like \"bucket1,bucket2\"",
                      "defaultValue": "{{BUCKET_NAMES}}"
                    },
                    "ACCESS_KEY_ID": {
                      "description": "Access Key ID for the bucket.",
                      "defaultValue": "{{ACCESS_KEY_ID}}"
                    },
                    "PRIVATE_TOKEN": {
                      "description": "Password to gain access to the GUI. Should be >32 characters long.",
                      "defaultValue": "{{PRIVATE_TOKEN}}"
                    },
                    "SECRET_ACCESS_KEY": {
                      "description": "Secret Access Key for the bucket",
                      "defaultValue": "{{SECRET_ACCESS_KEY}}"
                    },
                    "RATE_LIMIT_WINDOW_MS": {
                      "description": "The window to reset RATE_LIMIT_MAX_REQUESTS counter.",
                      "defaultValue": "1800000"
                    },
                    "FRIENDLY_BUCKET_NAMES": {
                      "isOptional": true,
                      "description": "Rename the buckets so that they are accessible from prettier endpoints. Must be the same lengths as the BUCKET_NAMES env. Separate by comma like \"documents,media\"",
                      "defaultValue": ""
                    },
                    "RATE_LIMIT_MAX_REQUESTS": {
                      "description": "Max requests for WINDOW_MS milliseconds on the auth endpoint, across all replicas (to prevent region switching to bypass auth, only if REDIS_URL is provided)",
                      "defaultValue": "10"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-15T04:14:48.407Z",
  "generator_version": "0.1.0"
}
