{
  "manifest_version": "1.0.0",
  "template": {
    "id": "818d4d8a-44fc-45dc-971f-591988092819",
    "slug": "greenlight-dash",
    "name": "greenlight-dash",
    "description": "GreenLight Dash Server — one-click template source",
    "url": "https://railway.com/deploy/greenlight-dash",
    "upstream": {
      "image": "ghcr.io/wpsoul/greenlight-dash:latest"
    }
  },
  "services": [
    {
      "name": "greenlight",
      "source": {
        "image": "ghcr.io/wpsoul/greenlight-dash:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GL_INSTANCE_URL",
      "service": "greenlight",
      "description": "Public HTTPS address of this server, used for login cookies and links. Pre-filled from the Railway domain; replace it with your own domain if you attach one (https://boards.example.com).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "greenlight",
      "description": "Must stay 0. Railway mounts the volume owned by root while the image runs as user 1000, so the container runs as root to write /data. Leave the generated value as it is.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "GL_AUTH_PASSWORD",
      "service": "greenlight",
      "description": "Owner password for signing in (8+ characters). A random one is generated on deploy; read it back in this Variables tab, or type your own. The server stores it hashed. Change it and redeploy to change the password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "greenlight-dash"
      }
    },
    "cli": "railway deploy --template greenlight-dash",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "818d4d8a-44fc-45dc-971f-591988092819",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ed8e41b0-571b-4357-becf-bb42df95ed6e": {
                  "icon": null,
                  "name": "greenlight",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/wpsoul/greenlight-dash:latest"
                  },
                  "variables": {
                    "GL_INSTANCE_URL": {
                      "isOptional": false,
                      "description": "Public HTTPS address of this server, used for login cookies and links. Pre-filled from the Railway domain; replace it with your own domain if you attach one (https://boards.example.com).",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Must stay 0. Railway mounts the volume owned by root while the image runs as user 1000, so the container runs as root to write /data. Leave the generated value as it is.",
                      "defaultValue": "${{randomInt(0, 0)}}"
                    },
                    "GL_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Owner password for signing in (8+ characters). A random one is generated on deploy; read it back in this Variables tab, or type your own. The server stores it hashed. Change it and redeploy to change the password.",
                      "defaultValue": "{{GL_AUTH_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "ed8e41b0-571b-4357-becf-bb42df95ed6e": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "greenlight",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-28T10:14:48.458Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-28T09:14:16.152Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6453f9b5c47a41b697d0",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 37,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "greenlight"
  }
}
