{
  "manifest_version": "1.0.0",
  "template": {
    "id": "924ff716-01e3-4dd8-88e4-3b3d6a4e2bff",
    "slug": "speedtest-tracker-regional-egress",
    "name": "Speedtest Tracker Regional Egress",
    "description": "Track Railway-region Internet performance with persistent test history.",
    "url": "https://railway.com/deploy/speedtest-tracker-regional-egress",
    "upstream": {
      "repo_url": "https://github.com/orenaksakal/railway-templates"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "speedtest-tracker",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "core",
      "source": {
        "image": "ghcr.io/linuxserver/speedtest-tracker:version-v1.15.0@sha256:9ebe34dd607e0b3eb8f303095d40790817e087c027cfe9224076ec8b43be5e8a"
      },
      "needs_volume": true,
      "volume_mount_path": "/config",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "speedtest-tracker",
      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "OWNER_AUTH",
      "service": "speedtest-tracker",
      "description": "Owner auth for speedtest-tracker. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OWNER_SCOPE",
      "service": "speedtest-tracker",
      "description": "Owner scope for speedtest-tracker. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "all"
    },
    {
      "key": "UPSTREAM_HOST",
      "service": "speedtest-tracker",
      "description": "Upstream host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "UPSTREAM_PORT",
      "service": "speedtest-tracker",
      "description": "Upstream port for speedtest-tracker. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "ACCESS_PASSWORD",
      "service": "speedtest-tracker",
      "description": "Generated access password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "speedtest-tracker",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "shared/round10-gateway/Dockerfile"
    },
    {
      "key": "TZ",
      "service": "core",
      "description": "Tz for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PGID",
      "service": "core",
      "description": "Pgid for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "PUID",
      "service": "core",
      "description": "Puid for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "APP_ENV",
      "service": "core",
      "description": "App env for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "APP_KEY",
      "service": "core",
      "description": "Generated 32-character Laravel encryption key. Preserve with the SQLite database; changing it invalidates encrypted application data.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APP_URL",
      "service": "core",
      "description": "App url resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_DEBUG",
      "service": "core",
      "description": "App debug for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "DB_CONNECTION",
      "service": "core",
      "description": "Db connection for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "sqlite"
    },
    {
      "key": "PUBLIC_DASHBOARD",
      "service": "core",
      "description": "Public dashboard for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SPEEDTEST_SCHEDULE",
      "service": "core",
      "description": "Automatic speed tests are disabled initially. Tests measure Railway regional egress, not your home Internet, and can consume billable bandwidth. Set a cron schedule only after a manual test.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PRUNE_RESULTS_OLDER_THAN",
      "service": "core",
      "description": "Remove speed-test results older than 90 days using the upstream scheduler.",
      "secret": false,
      "strategy": "default",
      "default": "90"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "speedtest-tracker-regional-egress"
      }
    },
    "cli": "railway deploy --template speedtest-tracker-regional-egress",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "924ff716-01e3-4dd8-88e4-3b3d6a4e2bff",
            "serializedConfig": {
              "services": {
                "34fd89ca-459a-58c9-95d1-6178be09f68a": {
                  "name": "speedtest-tracker",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "shared/round10-gateway/Dockerfile"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/unique-template-drafts"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
                      "defaultValue": "8080"
                    },
                    "OWNER_AUTH": {
                      "isOptional": false,
                      "description": "Owner auth for speedtest-tracker. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "true"
                    },
                    "OWNER_SCOPE": {
                      "isOptional": false,
                      "description": "Owner scope for speedtest-tracker. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "all"
                    },
                    "UPSTREAM_HOST": {
                      "isOptional": false,
                      "description": "Upstream host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{core.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "UPSTREAM_PORT": {
                      "isOptional": false,
                      "description": "Upstream port for speedtest-tracker. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "80"
                    },
                    "ACCESS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated access password. Keep private and preserve with backups.",
                      "defaultValue": "{{ACCESS_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "shared/round10-gateway/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "4e2616d0-25de-5ece-8a4d-6f00eb87e5cc": {
                  "name": "core",
                  "deploy": {
                    "requiredMountPath": "/config",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/linuxserver/speedtest-tracker:version-v1.15.0@sha256:9ebe34dd607e0b3eb8f303095d40790817e087c027cfe9224076ec8b43be5e8a"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Tz for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "UTC"
                    },
                    "PGID": {
                      "isOptional": false,
                      "description": "Pgid for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "1000"
                    },
                    "PUID": {
                      "isOptional": false,
                      "description": "Puid for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "1000"
                    },
                    "APP_ENV": {
                      "isOptional": false,
                      "description": "App env for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "production"
                    },
                    "APP_KEY": {
                      "isOptional": false,
                      "description": "Generated 32-character Laravel encryption key. Preserve with the SQLite database; changing it invalidates encrypted application data.",
                      "defaultValue": "{{APP_KEY}}"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "App url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "https://${{speedtest-tracker.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_DEBUG": {
                      "isOptional": false,
                      "description": "App debug for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "DB_CONNECTION": {
                      "isOptional": false,
                      "description": "Db connection for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "sqlite"
                    },
                    "PUBLIC_DASHBOARD": {
                      "isOptional": false,
                      "description": "Public dashboard for core. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "SPEEDTEST_SCHEDULE": {
                      "isOptional": false,
                      "description": "Automatic speed tests are disabled initially. Tests measure Railway regional egress, not your home Internet, and can consume billable bandwidth. Set a cron schedule only after a manual test.",
                      "defaultValue": "{{SPEEDTEST_SCHEDULE}}"
                    },
                    "PRUNE_RESULTS_OLDER_THAN": {
                      "isOptional": false,
                      "description": "Remove speed-test results older than 90 days using the upstream scheduler.",
                      "defaultValue": "90"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "1b479dba-a312-5902-a3bc-66a36ad8a7b6": {
                      "mountPath": "/config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "speedtest-tracker",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T10:14:38.021Z",
  "generator_version": "0.1.0"
}
