{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0dbc0c71-0300-4235-8e95-1d511e6e3b0c",
    "slug": "tracktor",
    "name": "Tracktor",
    "description": "Vehicle logbook: fuel, servicing, reminders and running costs",
    "url": "https://railway.com/deploy/tracktor",
    "upstream": {
      "image": "ghcr.io/youssefsiam38/tracktor-railway:1.0.0"
    }
  },
  "services": [
    {
      "name": "tracktor",
      "source": {
        "image": "ghcr.io/youssefsiam38/tracktor-railway:1.0.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "tracktor",
      "description": "Timezone used for dates.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "tracktor",
      "description": "Port the proxy listens on. Railway probes its healthcheck here, so keep it equal to the domain's target port.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "HTTP_MODE",
      "service": "tracktor",
      "description": "Marks the session cookie Secure. Leave as https behind Railway TLS.",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "APP_SECRET",
      "service": "tracktor",
      "description": "Encrypts stored notification credentials. Changing it makes existing ones unreadable.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CORS_ORIGINS",
      "service": "tracktor",
      "description": "Browser origins allowed to call the API. Upstream defaults to * ; this pins it to your own domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "TRACKTOR_OWNER_PASSWORD",
      "service": "tracktor",
      "description": "Password for that account. Sign in with it, then change it in the app. Ignored once the account exists.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "TRACKTOR_OWNER_USERNAME",
      "service": "tracktor",
      "description": "Username of the account created on first start.",
      "secret": false,
      "strategy": "default",
      "default": "owner"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tracktor"
      }
    },
    "cli": "railway deploy --template tracktor",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0dbc0c71-0300-4235-8e95-1d511e6e3b0c",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c9cbd69d-45ee-442d-813c-203c2c5ed27d": {
                  "icon": null,
                  "name": "tracktor",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/tracktor-railway:1.0.0"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Timezone used for dates.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the proxy listens on. Railway probes its healthcheck here, so keep it equal to the domain's target port.",
                      "defaultValue": "8080"
                    },
                    "HTTP_MODE": {
                      "isOptional": false,
                      "description": "Marks the session cookie Secure. Leave as https behind Railway TLS.",
                      "defaultValue": "https"
                    },
                    "APP_SECRET": {
                      "isOptional": false,
                      "description": "Encrypts stored notification credentials. Changing it makes existing ones unreadable.",
                      "defaultValue": "{{APP_SECRET}}"
                    },
                    "CORS_ORIGINS": {
                      "isOptional": false,
                      "description": "Browser origins allowed to call the API. Upstream defaults to * ; this pins it to your own domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "TRACKTOR_OWNER_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for that account. Sign in with it, then change it in the app. Ignored once the account exists.",
                      "defaultValue": "{{TRACKTOR_OWNER_PASSWORD}}"
                    },
                    "TRACKTOR_OWNER_USERNAME": {
                      "isOptional": false,
                      "description": "Username of the account created on first start.",
                      "defaultValue": "owner"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "c9cbd69d-45ee-442d-813c-203c2c5ed27d": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "tracktor",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-12T10:14:41.946Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-12T07:10:00.721Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_09aba7ef8c8d423ab203",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 18,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "tracktor"
  }
}
