{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0a132caf-6163-48b2-916e-35391dea4508",
    "slug": "cronicle-scheduler",
    "name": "Cronicle",
    "description": "Single-node task scheduling with persistent job history",
    "url": "https://railway.com/deploy/cronicle-scheduler",
    "upstream": {
      "repo_url": "https://github.com/monotykamary/railway-template-cronicle"
    }
  },
  "services": [
    {
      "name": "cronicle",
      "source": {
        "repo": "https://github.com/monotykamary/railway-template-cronicle"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/cronicle/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "cronicle",
      "description": "Cronicle HTTP port used by the Railway public domain.",
      "secret": false,
      "strategy": "default",
      "default": "3012"
    },
    {
      "key": "CRONICLE_SECRET_KEY",
      "service": "cronicle",
      "description": "Persistent internal signing key. Keep unchanged across redeployments.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CRONICLE_ADMIN_EMAIL",
      "service": "cronicle",
      "description": "Initial administrator email. Configure SMTP before relying on email workflows.",
      "secret": false,
      "strategy": "default",
      "default": "admin@localhost"
    },
    {
      "key": "CRONICLE_PUBLIC_DOMAIN",
      "service": "cronicle",
      "description": "Public Railway hostname used in generated job and UI links.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CRONICLE_ADMIN_PASSWORD",
      "service": "cronicle",
      "description": "Generated initial password for the Cronicle administrator.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CRONICLE_ADMIN_USERNAME",
      "service": "cronicle",
      "description": "Initial administrator username. Dashes and dots are accepted and normalized internally.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "cronicle-scheduler"
      }
    },
    "cli": "railway deploy --template cronicle-scheduler",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0a132caf-6163-48b2-916e-35391dea4508",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "b18f130f-a715-42f4-bed5-bbd145313d96": {
                  "icon": "https://raw.githubusercontent.com/monotykamary/railway-template-cronicle/b7a8d4149e064238d17fba785dbf9256412f0f8b/assets/cronicle-icon.png",
                  "name": "cronicle",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/app/status",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/monotykamary/railway-template-cronicle",
                    "branch": "main",
                    "commitSha": "f17e25edd688306487e557d3d2517cd4e422dd42",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Cronicle HTTP port used by the Railway public domain.",
                      "defaultValue": "3012"
                    },
                    "CRONICLE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Persistent internal signing key. Keep unchanged across redeployments.",
                      "defaultValue": "{{CRONICLE_SECRET_KEY}}"
                    },
                    "CRONICLE_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Initial administrator email. Configure SMTP before relying on email workflows.",
                      "defaultValue": "admin@localhost"
                    },
                    "CRONICLE_PUBLIC_DOMAIN": {
                      "isOptional": false,
                      "description": "Public Railway hostname used in generated job and UI links.",
                      "defaultValue": "${{cronicle.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CRONICLE_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated initial password for the Cronicle administrator.",
                      "defaultValue": "{{CRONICLE_ADMIN_PASSWORD}}"
                    },
                    "CRONICLE_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Initial administrator username. Dashes and dots are accepted and normalized internally.",
                      "defaultValue": "admin"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3012": {
                        "port": 3012
                      }
                    }
                  },
                  "volumeMounts": {
                    "b18f130f-a715-42f4-bed5-bbd145313d96": {
                      "mountPath": "/opt/cronicle/data",
                      "backupSchedules": [
                        "DAILY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "cronicle",
      "method": "GET",
      "path": "/api/app/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-06T18:01:00.550Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_563c076586c04cbfadda",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 138,
    "typical_build_seconds": 40,
    "typical_start_seconds": 10,
    "slowest_service": "cronicle"
  }
}
