{
  "manifest_version": "1.0.0",
  "template": {
    "id": "05c6a415-7f31-4424-bcec-c688e204b198",
    "slug": "homarr-2",
    "name": "Homarr",
    "description": "Homarr — self-hosted dashboard for home server apps with 50+ integrations",
    "url": "https://railway.com/deploy/homarr-2",
    "upstream": {
      "image": "ghcr.io/homarr-labs/homarr:latest"
    }
  },
  "services": [
    {
      "name": "homarr",
      "source": {
        "image": "ghcr.io/homarr-labs/homarr:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/appdata",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "homarr",
      "description": "Port Homarr listens on (container must EXPOSE this)",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DB_DRIVER",
      "service": "homarr",
      "description": "Database driver (better-sqlite3 for embedded SQLite)",
      "secret": false,
      "strategy": "default",
      "default": "better-sqlite3"
    },
    {
      "key": "AUTH_SECRET",
      "service": "homarr",
      "description": "Secret used to sign auth tokens — generate a random 32-char string",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SECRET_ENCRYPTION_KEY",
      "service": "homarr",
      "description": "64-char hex encryption key — generate your own via: openssl rand -hex 32",
      "secret": true,
      "strategy": "default",
      "default": "e8a0968a6d18140c6ca710d3f8827005cb1aa47ead1c6388e2d93b871ff21e0c"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "homarr-2"
      }
    },
    "cli": "railway deploy --template homarr-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "05c6a415-7f31-4424-bcec-c688e204b198",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "49e42366-a29b-40a3-bca0-1be6b6bfef03": {
                  "icon": null,
                  "name": "homarr",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/homarr-labs/homarr:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Homarr listens on (container must EXPOSE this)",
                      "defaultValue": "8080"
                    },
                    "DB_DRIVER": {
                      "isOptional": false,
                      "description": "Database driver (better-sqlite3 for embedded SQLite)",
                      "defaultValue": "better-sqlite3"
                    },
                    "AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Secret used to sign auth tokens — generate a random 32-char string",
                      "defaultValue": "{{AUTH_SECRET}}"
                    },
                    "SECRET_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "64-char hex encryption key — generate your own via: openssl rand -hex 32",
                      "defaultValue": "e8a0968a6d18140c6ca710d3f8827005cb1aa47ead1c6388e2d93b871ff21e0c"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "49e42366-a29b-40a3-bca0-1be6b6bfef03": {
                      "mountPath": "/appdata"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T05:53:28.259Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_ca0a0adc4c2a43078a4e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 56,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "homarr"
  }
}
