{
  "manifest_version": "1.0.0",
  "template": {
    "id": "34da022f-1e77-4146-9773-72b4cabb33ae",
    "slug": "feather-io",
    "name": "feather-io",
    "description": "A lightweight storage server compatible with S3 (and a web console)",
    "url": "https://railway.com/deploy/feather-io",
    "upstream": {
      "repo_url": "https://github.com/Root-101/feather-io"
    }
  },
  "services": [
    {
      "name": "feather-io console",
      "source": {
        "repo": "https://github.com/Root-101/feather-io"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "feather-io storage",
      "source": {
        "repo": "https://github.com/Root-101/feather-io"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "feather-io console",
      "description": "The port of the running console",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "SERVICE_URL",
      "service": "feather-io console",
      "description": "URL of the backend service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "feather-io storage",
      "description": "The port of the running storage",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "JWT_SECRET",
      "service": "feather-io storage",
      "description": "Secret key used to sign the JWTs",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "FEATHER_ACCESS",
      "service": "feather-io storage",
      "description": "Access key used to authenticate requests",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "FEATHER_SECRET",
      "service": "feather-io storage",
      "description": "Secret key used to authenticate requests",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STORAGE_VOLUME_PATH",
      "service": "feather-io storage",
      "description": "Local path of the volume where buckets, objects and the database are stored. Must match the path of attached volume",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "KEYS_ENCRYPTION_SECRET",
      "service": "feather-io storage",
      "description": "Encrypts the secrets of the access keys in the database. Changing it makes the stored keys unusable.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "feather-io"
      }
    },
    "cli": "railway deploy --template feather-io",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "34da022f-1e77-4146-9773-72b4cabb33ae",
            "serializedConfig": {
              "services": {
                "53a44199-e461-499d-8d38-a1a653038f5c": {
                  "icon": "https://raw.githubusercontent.com/Root-101/feather-io/refs/heads/main/docs/design/brand/icon.svg",
                  "name": "feather-io console",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "Root-101/feather-io",
                    "rootDirectory": "/console"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port of the running console",
                      "defaultValue": "80"
                    },
                    "SERVICE_URL": {
                      "description": "URL of the backend service.",
                      "defaultValue": "${{feather-io storage.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                },
                "95229fad-4122-4cd5-92ed-acb883ae9116": {
                  "icon": "https://raw.githubusercontent.com/Root-101/feather-io/refs/heads/main/docs/design/brand/icon.svg",
                  "name": "feather-io storage",
                  "deploy": {
                    "healthcheckPath": "/_admin/health"
                  },
                  "source": {
                    "repo": "Root-101/feather-io",
                    "rootDirectory": "/service"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port of the running storage",
                      "defaultValue": "8080"
                    },
                    "JWT_SECRET": {
                      "description": "Secret key used to sign the JWTs",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "FEATHER_ACCESS": {
                      "description": "Access key used to authenticate requests",
                      "defaultValue": "{{FEATHER_ACCESS}}"
                    },
                    "FEATHER_SECRET": {
                      "description": "Secret key used to authenticate requests",
                      "defaultValue": "{{FEATHER_SECRET}}"
                    },
                    "STORAGE_VOLUME_PATH": {
                      "description": "Local path of the volume where buckets, objects and the database are stored. Must match the path of attached volume",
                      "defaultValue": "/data"
                    },
                    "KEYS_ENCRYPTION_SECRET": {
                      "description": "Encrypts the secrets of the access keys in the database. Changing it makes the stored keys unusable.",
                      "defaultValue": "{{KEYS_ENCRYPTION_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "95229fad-4122-4cd5-92ed-acb883ae9116": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "feather-io console",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-13T16:14:45.508Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-13T16:22:08.201Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_4007f305d2d041e58337",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "DEPLOYING,SUCCESS"
      }
    ]
  }
}
