{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d64d4edc-fe68-42d6-b574-b50f573edc12",
    "slug": "errbit",
    "name": "Errbit",
    "description": "Airbrake-compatible error tracking with MongoDB and generated owner access.",
    "url": "https://railway.com/deploy/errbit",
    "upstream": {
      "repo_url": "https://github.com/orenaksakal/railway-templates"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "mongo",
      "source": {
        "image": "mongo:8.0@sha256:4968f22d0c6c10ef29952f3e807f62872ba22b3312f25803564fbfc08255efc2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data/db",
      "http": false
    },
    {
      "name": "errbit",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "MONGO_INITDB_ROOT_PASSWORD",
      "service": "mongo",
      "description": "Generated mongo initdb root password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MONGO_INITDB_ROOT_USERNAME",
      "service": "mongo",
      "description": "Mongo initdb root username for mongo. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "errbit"
    },
    {
      "key": "PORT",
      "service": "errbit",
      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "MONGO_URL",
      "service": "errbit",
      "description": "Mongo url 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": "RAILS_ENV",
      "service": "errbit",
      "description": "Rails env for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "ERRBIT_HOST",
      "service": "errbit",
      "description": "Errbit host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "errbit",
      "description": "Generated application signing secret. Preserve across restarts and backup restores.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ERRBIT_ADMIN_USER",
      "service": "errbit",
      "description": "Errbit admin user for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "RAILS_MAX_THREADS",
      "service": "errbit",
      "description": "Maximum Rails request threads. Tune with available memory and database capacity.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "ERRBIT_ADMIN_EMAIL",
      "service": "errbit",
      "description": "Required initial administrator email address.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ERRBIT_USE_GRAVATAR",
      "service": "errbit",
      "description": "Errbit use gravatar for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ERRBIT_ADMIN_PASSWORD",
      "service": "errbit",
      "description": "Generated errbit admin password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "GITHUB_AUTHENTICATION",
      "service": "errbit",
      "description": "Github authentication for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "GOOGLE_AUTHENTICATION",
      "service": "errbit",
      "description": "Google authentication for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "errbit",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/round9/errbit/Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "errbit"
      }
    },
    "cli": "railway deploy --template errbit",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d64d4edc-fe68-42d6-b574-b50f573edc12",
            "serializedConfig": {
              "services": {
                "214056ea-067e-5f51-82be-067f089f5777": {
                  "name": "mongo",
                  "deploy": {
                    "requiredMountPath": "/data/db",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mongo:8.0@sha256:4968f22d0c6c10ef29952f3e807f62872ba22b3312f25803564fbfc08255efc2"
                  },
                  "variables": {
                    "MONGO_INITDB_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated mongo initdb root password. Keep private and preserve with backups.",
                      "defaultValue": "{{MONGO_INITDB_ROOT_PASSWORD}}"
                    },
                    "MONGO_INITDB_ROOT_USERNAME": {
                      "isOptional": false,
                      "description": "Mongo initdb root username for mongo. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "errbit"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "679aad7a-52d7-5ddf-ae9c-b02645cc57f6": {
                      "mountPath": "/data/db"
                    }
                  }
                },
                "991fe822-816c-51f3-a721-6e0836046209": {
                  "name": "errbit",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/round9/errbit/Dockerfile"
                  },
                  "deploy": {
                    "healthcheckPath": "/users/sign_in",
                    "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": "3000"
                    },
                    "MONGO_URL": {
                      "isOptional": false,
                      "description": "Mongo url resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "mongodb://errbit:${{mongo.MONGO_INITDB_ROOT_PASSWORD}}@${{mongo.RAILWAY_PRIVATE_DOMAIN}}:27017/errbit?authSource=admin"
                    },
                    "RAILS_ENV": {
                      "isOptional": false,
                      "description": "Rails env for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "production"
                    },
                    "ERRBIT_HOST": {
                      "isOptional": false,
                      "description": "Errbit host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{errbit.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Generated application signing secret. Preserve across restarts and backup restores.",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "ERRBIT_ADMIN_USER": {
                      "isOptional": false,
                      "description": "Errbit admin user for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "admin"
                    },
                    "RAILS_MAX_THREADS": {
                      "isOptional": false,
                      "description": "Maximum Rails request threads. Tune with available memory and database capacity.",
                      "defaultValue": "2"
                    },
                    "ERRBIT_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Required initial administrator email address.",
                      "defaultValue": "{{ERRBIT_ADMIN_EMAIL}}"
                    },
                    "ERRBIT_USE_GRAVATAR": {
                      "isOptional": false,
                      "description": "Errbit use gravatar for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "ERRBIT_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated errbit admin password. Keep private and preserve with backups.",
                      "defaultValue": "{{ERRBIT_ADMIN_PASSWORD}}"
                    },
                    "GITHUB_AUTHENTICATION": {
                      "isOptional": false,
                      "description": "Github authentication for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "GOOGLE_AUTHENTICATION": {
                      "isOptional": false,
                      "description": "Google authentication for errbit. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/round9/errbit/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "errbit",
      "method": "GET",
      "path": "/users/sign_in",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T10:14:38.021Z",
  "generator_version": "0.1.0"
}
