{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a4237285-0728-47de-9294-eea6e78faf62",
    "slug": "traggo-time-tracking",
    "name": "Traggo time tracking",
    "description": "Private tag-based time tracking with durable SQLite storage.",
    "url": "https://railway.com/deploy/traggo-time-tracking",
    "upstream": {
      "image": "traggo/server:0.8.3@sha256:8bf510774ce1729b5bd9a8930e174de03ebec8c25ca4aaa087c0e56e2bcbb67a"
    }
  },
  "services": [
    {
      "name": "Traggo",
      "source": {
        "image": "traggo/server:0.8.3@sha256:8bf510774ce1729b5bd9a8930e174de03ebec8c25ca4aaa087c0e56e2bcbb67a"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/traggo/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Traggo",
      "description": "HTTP listener used by Railway.",
      "secret": false,
      "strategy": "default",
      "default": "3030"
    },
    {
      "key": "TRAGGO_PORT",
      "service": "Traggo",
      "description": "Traggo HTTP listener.",
      "secret": false,
      "strategy": "default",
      "default": "3030"
    },
    {
      "key": "TRAGGO_LOG_LEVEL",
      "service": "Traggo",
      "description": "Application log verbosity.",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "TRAGGO_DATABASE_DIALECT",
      "service": "Traggo",
      "description": "Pinned embedded database backend.",
      "secret": false,
      "strategy": "default",
      "default": "sqlite3"
    },
    {
      "key": "TRAGGO_DEFAULT_USER_NAME",
      "service": "Traggo",
      "description": "Initial owner username on an empty volume.",
      "secret": false,
      "strategy": "default",
      "default": "owner"
    },
    {
      "key": "TRAGGO_DEFAULT_USER_PASS",
      "service": "Traggo",
      "description": "Generated initial owner password; read it from service variables.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TRAGGO_DATABASE_CONNECTION",
      "service": "Traggo",
      "description": "Database path inside the persistent volume.",
      "secret": false,
      "strategy": "default",
      "default": "data/traggo.db"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "traggo-time-tracking"
      }
    },
    "cli": "railway deploy --template traggo-time-tracking",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a4237285-0728-47de-9294-eea6e78faf62",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d7af92bc-c9fc-485e-9001-fc1093225bb9": {
                  "icon": null,
                  "name": "Traggo",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "traggo/server:0.8.3@sha256:8bf510774ce1729b5bd9a8930e174de03ebec8c25ca4aaa087c0e56e2bcbb67a"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP listener used by Railway.",
                      "defaultValue": "3030"
                    },
                    "TRAGGO_PORT": {
                      "isOptional": false,
                      "description": "Traggo HTTP listener.",
                      "defaultValue": "3030"
                    },
                    "TRAGGO_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Application log verbosity.",
                      "defaultValue": "info"
                    },
                    "TRAGGO_DATABASE_DIALECT": {
                      "isOptional": false,
                      "description": "Pinned embedded database backend.",
                      "defaultValue": "sqlite3"
                    },
                    "TRAGGO_DEFAULT_USER_NAME": {
                      "isOptional": false,
                      "description": "Initial owner username on an empty volume.",
                      "defaultValue": "owner"
                    },
                    "TRAGGO_DEFAULT_USER_PASS": {
                      "isOptional": false,
                      "description": "Generated initial owner password; read it from service variables.",
                      "defaultValue": "{{TRAGGO_DEFAULT_USER_PASS}}"
                    },
                    "TRAGGO_DATABASE_CONNECTION": {
                      "isOptional": false,
                      "description": "Database path inside the persistent volume.",
                      "defaultValue": "data/traggo.db"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {
                        "port": 3030
                      }
                    }
                  },
                  "volumeMounts": {
                    "d7af92bc-c9fc-485e-9001-fc1093225bb9": {
                      "sizeMB": 5000,
                      "mountPath": "/opt/traggo/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Traggo",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-10T19:13:50.614Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a594e5351fc64d6fb84d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 100,
    "typical_build_seconds": 0,
    "typical_start_seconds": 15,
    "slowest_service": "Traggo"
  }
}
