{
  "manifest_version": "1.0.0",
  "template": {
    "id": "44762a04-2c68-4791-b4f9-2db634ca5345",
    "slug": "runlight",
    "name": "Runlight",
    "description": "Cookieless, open-source web analytics; no consent banner required.",
    "url": "https://railway.com/deploy/runlight",
    "upstream": {
      "image": "ghcr.io/runlightsh/runlight:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "runlight",
      "source": {
        "image": "ghcr.io/runlightsh/runlight:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "runlight",
      "description": "Port the server listens on",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "TRUST_PROXY",
      "service": "runlight",
      "description": "Reads visitor IPs from Railway’s edge header",
      "secret": false,
      "strategy": "default",
      "default": "x-real-ip"
    },
    {
      "key": "RUNLIGHT_GEO",
      "service": "runlight",
      "description": "Location data: country, city or off",
      "secret": false,
      "strategy": "default",
      "default": "country"
    },
    {
      "key": "RUNLIGHT_URL",
      "service": "runlight",
      "description": "Public URL of the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "runlight",
      "description": "Allows writing to the Railway volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "RUNLIGHT_SECRET",
      "service": "runlight",
      "description": "Signs sign-ins and encrypts saved keys",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "runlight"
      }
    },
    "cli": "railway deploy --template runlight",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "44762a04-2c68-4791-b4f9-2db634ca5345",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a9dbd4b5-06ac-4289-83f3-bf8d8bd2f8a7": {
                  "icon": null,
                  "name": "runlight",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/runlightsh/runlight:latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port the server listens on",
                      "defaultValue": "3000"
                    },
                    "TRUST_PROXY": {
                      "isOptional": true,
                      "description": "Reads visitor IPs from Railway’s edge header",
                      "defaultValue": "x-real-ip"
                    },
                    "RUNLIGHT_GEO": {
                      "isOptional": true,
                      "description": "Location data: country, city or off",
                      "defaultValue": "country"
                    },
                    "RUNLIGHT_URL": {
                      "isOptional": true,
                      "description": "Public URL of the server",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": true,
                      "description": "Allows writing to the Railway volume",
                      "defaultValue": "0"
                    },
                    "RUNLIGHT_SECRET": {
                      "isOptional": true,
                      "description": "Signs sign-ins and encrypts saved keys",
                      "defaultValue": "{{RUNLIGHT_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "a9dbd4b5-06ac-4289-83f3-bf8d8bd2f8a7": {
                      "mountPath": "/data",
                      "backupSchedules": [
                        "DAILY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "runlight",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-08T16:15:10.586Z",
  "generator_version": "0.1.0"
}
