{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ae7d299f-93ee-4012-a7d0-cb095a7e5598",
    "slug": "heimdall",
    "name": "Heimdall",
    "description": "One page of tiles linking to every app and service you run",
    "url": "https://railway.com/deploy/heimdall",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/heimdall-railway"
    }
  },
  "services": [
    {
      "name": "heimdall",
      "source": {
        "repo": "https://github.com/gridalpha/heimdall-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "heimdall",
      "description": "Container and PHP timezone",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "PORT",
      "service": "heimdall",
      "description": "Port nginx listens on",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "APP_ENV",
      "service": "heimdall",
      "description": "Laravel environment",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "APP_URL",
      "service": "heimdall",
      "description": "Root of every generated URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_DEBUG",
      "service": "heimdall",
      "description": "No stack traces on error pages",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "LOG_LEVEL",
      "service": "heimdall",
      "description": "Laravel log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "FORCE_HTTPS",
      "service": "heimdall",
      "description": "Emit https links behind the edge",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LOG_CHANNEL",
      "service": "heimdall",
      "description": "Send Laravel's log to the deploy log",
      "secret": false,
      "strategy": "default",
      "default": "stderr"
    },
    {
      "key": "TRUSTED_PROXIES",
      "service": "heimdall",
      "description": "Read the real client address from XFF",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0/0,::/0"
    },
    {
      "key": "SESSION_SECURE_COOKIE",
      "service": "heimdall",
      "description": "Mark session cookies Secure",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ALLOW_INTERNAL_REQUESTS",
      "service": "heimdall",
      "description": "Refuse server-side fetches of private addresses",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "HEIMDALL_ADMIN_PASSWORD",
      "service": "heimdall",
      "description": "Password hashed onto that user at boot",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "HEIMDALL_ADMIN_USERNAME",
      "service": "heimdall",
      "description": "First Heimdall user's username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "heimdall"
      }
    },
    "cli": "railway deploy --template heimdall",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ae7d299f-93ee-4012-a7d0-cb095a7e5598",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "01ad517d-d879-4a6c-9804-911bbaffd5f7": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/heimdall-light.svg",
                  "name": "heimdall",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/up",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/heimdall-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container and PHP timezone",
                      "defaultValue": "Etc/UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port nginx listens on",
                      "defaultValue": "80"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "Laravel environment",
                      "defaultValue": "production"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "Root of every generated URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_DEBUG": {
                      "isOptional": false,
                      "description": "No stack traces on error pages",
                      "defaultValue": "false"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Laravel log verbosity",
                      "defaultValue": "info"
                    },
                    "FORCE_HTTPS": {
                      "isOptional": false,
                      "description": "Emit https links behind the edge",
                      "defaultValue": "true"
                    },
                    "LOG_CHANNEL": {
                      "isOptional": false,
                      "description": "Send Laravel's log to the deploy log",
                      "defaultValue": "stderr"
                    },
                    "TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Read the real client address from XFF",
                      "defaultValue": "0.0.0.0/0,::/0"
                    },
                    "SESSION_SECURE_COOKIE": {
                      "isOptional": false,
                      "description": "Mark session cookies Secure",
                      "defaultValue": "true"
                    },
                    "ALLOW_INTERNAL_REQUESTS": {
                      "isOptional": false,
                      "description": "Refuse server-side fetches of private addresses",
                      "defaultValue": "false"
                    },
                    "HEIMDALL_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password hashed onto that user at boot",
                      "defaultValue": "{{HEIMDALL_ADMIN_PASSWORD}}"
                    },
                    "HEIMDALL_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First Heimdall user's username",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "01ad517d-d879-4a6c-9804-911bbaffd5f7": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "heimdall",
      "method": "GET",
      "path": "/up",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-11T22:14:37.124Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-11T19:49:09.812Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_920e0729ac6e4767bdd6",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 54,
    "typical_build_seconds": 20,
    "typical_start_seconds": 20,
    "slowest_service": "heimdall"
  }
}
