{
  "manifest_version": "1.0.0",
  "template": {
    "id": "53cf49ee-b905-4d80-b479-d83dac2c506c",
    "slug": "timetagger",
    "name": "TimeTagger",
    "description": "Personal time tracking with generated credentials and persistent data.",
    "url": "https://railway.com/deploy/timetagger",
    "upstream": {
      "repo_url": "https://github.com/orenaksakal/railway-templates"
    }
  },
  "services": [
    {
      "name": "timetagger",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/_timetagger",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "ADMIN_PASSWORD",
      "service": "timetagger",
      "description": "Generated admin password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ADMIN_USERNAME",
      "service": "timetagger",
      "description": "Admin username for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "TIMETAGGER_BIND",
      "service": "timetagger",
      "description": "Timetagger bind for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0:8080"
    },
    {
      "key": "TIMETAGGER_DATADIR",
      "service": "timetagger",
      "description": "Timetagger datadir for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "/opt/_timetagger"
    },
    {
      "key": "TIMETAGGER_LOG_LEVEL",
      "service": "timetagger",
      "description": "Timetagger log level for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "timetagger",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/timetagger/Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "timetagger"
      }
    },
    "cli": "railway deploy --template timetagger",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "53cf49ee-b905-4d80-b479-d83dac2c506c",
            "serializedConfig": {
              "services": {
                "42c95656-c580-56cf-a6a9-28327451778f": {
                  "name": "timetagger",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/timetagger/Dockerfile"
                  },
                  "deploy": {
                    "requiredMountPath": "/opt/_timetagger",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/fifteen-template-drafts"
                  },
                  "variables": {
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated admin password. Keep private and preserve with backups.",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Admin username for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "admin"
                    },
                    "TIMETAGGER_BIND": {
                      "isOptional": false,
                      "description": "Timetagger bind for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "0.0.0.0:8080"
                    },
                    "TIMETAGGER_DATADIR": {
                      "isOptional": false,
                      "description": "Timetagger datadir for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "/opt/_timetagger"
                    },
                    "TIMETAGGER_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Timetagger log level for timetagger. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "info"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/timetagger/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "e6bf3733-c93a-54ed-9c5a-f303852ad1df": {
                      "mountPath": "/opt/_timetagger"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-13T22:14:35.692Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-13T20:09:48.150Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c0c2cfb7580d46f3abeb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 130,
    "typical_build_seconds": 10,
    "typical_start_seconds": 10,
    "slowest_service": "timetagger"
  }
}
