{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d8c498a5-f45b-4826-8d00-b1e008c791b0",
    "slug": "railbird",
    "name": "railbird",
    "description": "Connect to Railway services via Netbird.",
    "url": "https://railway.com/deploy/railbird",
    "upstream": {
      "repo_url": "https://github.com/jratienza65/railbird"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "railbird",
      "source": {
        "repo": "https://github.com/jratienza65/railbird"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/netbird/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "MODE",
      "service": "railbird",
      "description": "Forwarding mode (ingress, egress)",
      "secret": false,
      "strategy": "default",
      "default": "ingress"
    },
    {
      "key": "FORWARDS",
      "service": "railbird",
      "description": "Comma-separated. Example: 5432=db.internal:5432, 6379=cache.internal:6379.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NB_SETUP_KEY",
      "service": "railbird",
      "description": "Provide a value for NB_SETUP_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NB_STATE_DIR",
      "service": "railbird",
      "description": "Provide a value for NB_STATE_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/netbird/data"
    },
    {
      "key": "NB_DEVICE_NAME",
      "service": "railbird",
      "description": "Provide a value for NB_DEVICE_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "railbird"
    },
    {
      "key": "NB_MANAGEMENT_URL",
      "service": "railbird",
      "description": "Provide a value for NB_MANAGEMENT_URL.",
      "secret": false,
      "strategy": "default",
      "default": "https://api.netbird.io"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "railbird"
      }
    },
    "cli": "railway deploy --template railbird",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d8c498a5-f45b-4826-8d00-b1e008c791b0",
            "serializedConfig": {
              "services": {
                "896d46e3-9eb1-48b5-a662-f52ec85d2abc": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/netbird.svg",
                  "name": "railbird",
                  "source": {
                    "repo": "jratienza65/railbird",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "MODE": {
                      "description": "Forwarding mode (ingress, egress)",
                      "defaultValue": "ingress"
                    },
                    "FORWARDS": {
                      "description": "Comma-separated. Example: 5432=db.internal:5432, 6379=cache.internal:6379.",
                      "defaultValue": "{{FORWARDS}}"
                    },
                    "NB_SETUP_KEY": {
                      "defaultValue": "{{NB_SETUP_KEY}}"
                    },
                    "NB_STATE_DIR": {
                      "defaultValue": "/var/lib/netbird/data"
                    },
                    "NB_DEVICE_NAME": {
                      "defaultValue": "railbird"
                    },
                    "NB_MANAGEMENT_URL": {
                      "defaultValue": "https://api.netbird.io"
                    }
                  },
                  "volumeMounts": {
                    "896d46e3-9eb1-48b5-a662-f52ec85d2abc": {
                      "mountPath": "/var/lib/netbird/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
