{
  "manifest_version": "1.0.0",
  "template": {
    "id": "22163039-3aae-443a-9b6b-698c486a2543",
    "slug": "barrage",
    "name": "Barrage",
    "description": "Deluge & Manage Your Torrents with Ease from Any Device.",
    "url": "https://railway.com/deploy/barrage",
    "upstream": {
      "image": "maulik9898/barrage:0.3.0"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Barrage",
      "source": {
        "image": "maulik9898/barrage:0.3.0"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Barrage",
      "description": "Port the app listens on inside the container",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "DELUGE_URL",
      "service": "Barrage",
      "description": "http://your-deluge-ip:8112",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NEXTAUTH_URL",
      "service": "Barrage",
      "description": "Public base URL used by NextAuth for auth callbacks (this service's Railway public domain)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DELUGE_PASSWORD",
      "service": "Barrage",
      "description": "Auto-generated password for the Deluge WebUI/daemon",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "NEXTAUTH_SECRET",
      "service": "Barrage",
      "description": "Auto-generated secret NextAuth uses to sign/encrypt session tokens",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BARRAGE_PASSWORD",
      "service": "Barrage",
      "description": "Mirrors the Deluge password from the \"barrage\" service, so this app can authenticate to it",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "barrage"
      }
    },
    "cli": "railway deploy --template barrage",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "22163039-3aae-443a-9b6b-698c486a2543",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "9ab2911e-37d1-4d0d-b827-514050b1f012": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/barrage.svg",
                  "name": "Barrage",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "maulik9898/barrage:0.3.0"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the app listens on inside the container",
                      "defaultValue": "3000"
                    },
                    "DELUGE_URL": {
                      "isOptional": false,
                      "description": "http://your-deluge-ip:8112",
                      "defaultValue": "{{DELUGE_URL}}"
                    },
                    "NEXTAUTH_URL": {
                      "isOptional": false,
                      "description": "Public base URL used by NextAuth for auth callbacks (this service's Railway public domain)",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DELUGE_PASSWORD": {
                      "isOptional": false,
                      "description": "Auto-generated password for the Deluge WebUI/daemon",
                      "defaultValue": "{{DELUGE_PASSWORD}}"
                    },
                    "NEXTAUTH_SECRET": {
                      "isOptional": false,
                      "description": "Auto-generated secret NextAuth uses to sign/encrypt session tokens",
                      "defaultValue": "{{NEXTAUTH_SECRET}}"
                    },
                    "BARRAGE_PASSWORD": {
                      "isOptional": false,
                      "description": "Mirrors the Deluge password from the \"barrage\" service, so this app can authenticate to it",
                      "defaultValue": "${{Barrage.DELUGE_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-26T22:14:55.008Z",
  "generator_version": "0.1.0"
}
