{
  "manifest_version": "1.0.0",
  "template": {
    "id": "95ca7d18-e65f-48a1-a3e4-5334a99c2c5f",
    "slug": "rustrak",
    "name": "Rustrak | Sentry-Compatible Error Tracking in One Small Container",
    "description": "Sentry-SDK error tracking, logs and traces in one ~60 MB Rust process",
    "url": "https://railway.com/deploy/rustrak",
    "upstream": {
      "image": "rustrak/rustrak-server:v0.16.3"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Rustrak",
      "source": {
        "image": "rustrak/rustrak-server:v0.16.3"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "Rustrak",
      "description": "Listen on IPv6 and IPv4 so other services can report over the private network",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "PORT",
      "service": "Rustrak",
      "description": "Port Railway routes to - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SSL_PROXY",
      "service": "Rustrak",
      "description": "Railway serves HTTPS, so login cookies are marked secure",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PUBLIC_URL",
      "service": "Rustrak",
      "description": "Address the DSNs point at - set it to your custom domain after adding one",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Rustrak",
      "description": "Run as root so Rustrak can write to the Railway volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "CREATE_SUPERUSER",
      "service": "Rustrak",
      "description": "Creates the admin on first boot - leave as is",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_SECRET_KEY",
      "service": "Rustrak",
      "description": "Signs and encrypts login cookies (64+ characters)",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RUSTRAK_ADMIN_EMAIL",
      "service": "Rustrak",
      "description": "Email you sign in with - the admin account is created on first boot",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RUSTRAK_ADMIN_PASSWORD",
      "service": "Rustrak",
      "description": "Admin password, used on first boot only - change it later in the dashboard",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rustrak"
      }
    },
    "cli": "railway deploy --template rustrak",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "95ca7d18-e65f-48a1-a3e4-5334a99c2c5f",
            "serializedConfig": {
              "services": {
                "a632ea13-e47e-45e4-b0bb-6a5612f71ca1": {
                  "icon": "https://raw.githubusercontent.com/nomideusz/rustrak-railway/main/icon.png",
                  "name": "Rustrak",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health/ready",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "rustrak/rustrak-server:v0.16.3"
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": false,
                      "description": "Listen on IPv6 and IPv4 so other services can report over the private network",
                      "defaultValue": "::"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes to - leave as is",
                      "defaultValue": "8080"
                    },
                    "SSL_PROXY": {
                      "isOptional": false,
                      "description": "Railway serves HTTPS, so login cookies are marked secure",
                      "defaultValue": "true"
                    },
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Address the DSNs point at - set it to your custom domain after adding one",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run as root so Rustrak can write to the Railway volume",
                      "defaultValue": "0"
                    },
                    "CREATE_SUPERUSER": {
                      "isOptional": false,
                      "description": "Creates the admin on first boot - leave as is",
                      "defaultValue": "${{RUSTRAK_ADMIN_EMAIL}}:${{RUSTRAK_ADMIN_PASSWORD}}"
                    },
                    "SESSION_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Signs and encrypts login cookies (64+ characters)",
                      "defaultValue": "{{SESSION_SECRET_KEY}}"
                    },
                    "RUSTRAK_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email you sign in with - the admin account is created on first boot",
                      "defaultValue": "{{RUSTRAK_ADMIN_EMAIL}}"
                    },
                    "RUSTRAK_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, used on first boot only - change it later in the dashboard",
                      "defaultValue": "{{RUSTRAK_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "f7f1bcb4-d09d-4780-9f6e-d8d2a7aa07d3": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Rustrak",
      "method": "GET",
      "path": "/health/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-13T16:14:45.508Z",
  "generator_version": "0.1.0"
}
