{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a5cd8e74-9f38-4d25-9504-f7e69055573e",
    "slug": "s3-bucket-viewer-secure-s3manager-s3-bro",
    "name": "S3 Bucket Viewer (Secure) - s3manager - S3 Browser",
    "description": "Secure S3 viewer web with Railway Buckets, Basic Auth, UI explorer",
    "url": "https://railway.com/deploy/s3-bucket-viewer-secure-s3manager-s3-bro",
    "upstream": {
      "repo_url": "https://github.com/XavTo/caddy-zero-trust"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "s3manager",
      "source": {
        "image": "cloudlena/s3manager"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "caddy-zero-trust",
      "source": {
        "repo": "https://github.com/XavTo/caddy-zero-trust"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "s3manager",
      "description": "Port on which the S3 Manager web interface listens.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "REGION",
      "service": "s3manager",
      "description": "Region name for the S3-compatible storage service (often \"auto\").",
      "secret": false,
      "strategy": "default",
      "default": "auto"
    },
    {
      "key": "USE_SSL",
      "service": "s3manager",
      "description": "Enable SSL/TLS when connecting to the S3-compatible endpoint.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENDPOINT",
      "service": "s3manager",
      "description": "Hostname of the S3-compatible storage endpoint (without protocol). exemple : storage.railway.app",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ACCESS_KEY_ID",
      "service": "s3manager",
      "description": "Access key ID used to authenticate with the S3-compatible storage.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SECRET_ACCESS_KEY",
      "service": "s3manager",
      "description": "Secret access key used to authenticate with the S3-compatible storage.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AUTH_PASS",
      "service": "caddy-zero-trust",
      "description": "Password required to access the protected web interface.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AUTH_USER",
      "service": "caddy-zero-trust",
      "description": "Username required to access the protected web interface.",
      "secret": false,
      "strategy": "default",
      "default": "user"
    },
    {
      "key": "DOMAIN_NAME",
      "service": "caddy-zero-trust",
      "description": "Public domain name used to access the secured application.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "UPSTREAM_URL",
      "service": "caddy-zero-trust",
      "description": "Internal URL of the S3 Manager service to proxy traffic to.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "s3-bucket-viewer-secure-s3manager-s3-bro"
      }
    },
    "cli": "railway deploy --template s3-bucket-viewer-secure-s3manager-s3-bro",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a5cd8e74-9f38-4d25-9504-f7e69055573e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "306c341e-1e4a-416c-8985-a747e1a9d288": {
                  "icon": "https://upload.wikimedia.org/wikipedia/commons/b/bc/Amazon-S3-Logo.svg",
                  "name": "s3manager",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "cloudlena/s3manager"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port on which the S3 Manager web interface listens.",
                      "defaultValue": "8080"
                    },
                    "REGION": {
                      "description": "Region name for the S3-compatible storage service (often \"auto\").",
                      "defaultValue": "auto"
                    },
                    "USE_SSL": {
                      "isOptional": false,
                      "description": "Enable SSL/TLS when connecting to the S3-compatible endpoint.",
                      "defaultValue": "true"
                    },
                    "ENDPOINT": {
                      "isOptional": false,
                      "description": "Hostname of the S3-compatible storage endpoint (without protocol). exemple : storage.railway.app",
                      "defaultValue": "{{ENDPOINT}}"
                    },
                    "ACCESS_KEY_ID": {
                      "description": "Access key ID used to authenticate with the S3-compatible storage.",
                      "defaultValue": "{{ACCESS_KEY_ID}}"
                    },
                    "SECRET_ACCESS_KEY": {
                      "description": "Secret access key used to authenticate with the S3-compatible storage.",
                      "defaultValue": "{{SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {}
                },
                "68a5da8f-793b-4680-8997-aa1b7a31d542": {
                  "icon": "https://media.rubrion.ai/railway/icons/caddy.svg",
                  "name": "caddy-zero-trust",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/XavTo/caddy-zero-trust",
                    "rootDirectory": null
                  },
                  "variables": {
                    "AUTH_PASS": {
                      "isOptional": false,
                      "description": "Password required to access the protected web interface.",
                      "defaultValue": "{{AUTH_PASS}}"
                    },
                    "AUTH_USER": {
                      "isOptional": false,
                      "description": "Username required to access the protected web interface.",
                      "defaultValue": "user"
                    },
                    "DOMAIN_NAME": {
                      "isOptional": false,
                      "description": "Public domain name used to access the secured application.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "UPSTREAM_URL": {
                      "isOptional": false,
                      "description": "Internal URL of the S3 Manager service to proxy traffic to.",
                      "defaultValue": "http://${{s3manager.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0"
}
