{
  "manifest_version": "1.0.0",
  "template": {
    "id": "38a0fe6e-6ba2-4234-b575-a91125e72006",
    "slug": "super-productivity",
    "name": "Super Productivity",
    "description": "Self-hosted to-do list and time tracker with private WebDAV sync",
    "url": "https://railway.com/deploy/super-productivity",
    "upstream": {
      "image": "ghcr.io/youssefsiam38/super-productivity-railway:1.0.0@sha256:f024df37c6300bccb900ca546e2516f76a11989f742b08ca93ee406cc05a122b"
    }
  },
  "services": [
    {
      "name": "app",
      "source": {
        "image": "ghcr.io/youssefsiam38/super-productivity-railway:1.0.0@sha256:f024df37c6300bccb900ca546e2516f76a11989f742b08ca93ee406cc05a122b"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "app",
      "description": "Port Railway routes traffic and health checks to (the Caddy front door; keep it 8080).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "FORWARD_PROTO",
      "service": "app",
      "description": "Scheme the front door reports to the WebDAV server (keep it https on Railway).",
      "secret": false,
      "strategy": "default",
      "default": "https"
    },
    {
      "key": "OWNER_PASSWORD",
      "service": "app",
      "description": "Generated password for the login prompt and for WebDAV sync (https://<domain>/webdav/). Copy it to sign in.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "OWNER_USERNAME",
      "service": "app",
      "description": "Username for the login prompt and for WebDAV sync (letters, digits, '.', '_' or '-').",
      "secret": false,
      "strategy": "default",
      "default": "owner"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "app",
      "description": "How long Railway waits for /healthz on a new deploy.",
      "secret": false,
      "strategy": "default",
      "default": "120"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "super-productivity"
      }
    },
    "cli": "railway deploy --template super-productivity",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "38a0fe6e-6ba2-4234-b575-a91125e72006",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "b57c1c39-6580-43c3-b06b-f106dfcd3362": {
                  "icon": null,
                  "name": "app",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/super-productivity-railway:1.0.0@sha256:f024df37c6300bccb900ca546e2516f76a11989f742b08ca93ee406cc05a122b"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes traffic and health checks to (the Caddy front door; keep it 8080).",
                      "defaultValue": "8080"
                    },
                    "FORWARD_PROTO": {
                      "isOptional": false,
                      "description": "Scheme the front door reports to the WebDAV server (keep it https on Railway).",
                      "defaultValue": "https"
                    },
                    "OWNER_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the login prompt and for WebDAV sync (https://<domain>/webdav/). Copy it to sign in.",
                      "defaultValue": "{{OWNER_PASSWORD}}"
                    },
                    "OWNER_USERNAME": {
                      "isOptional": false,
                      "description": "Username for the login prompt and for WebDAV sync (letters, digits, '.', '_' or '-').",
                      "defaultValue": "owner"
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "How long Railway waits for /healthz on a new deploy.",
                      "defaultValue": "120"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "b57c1c39-6580-43c3-b06b-f106dfcd3362": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "app",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-07T10:14:36.716Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-07T09:43:34.365Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_8b91404b3b3a4dadbba8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 81,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "app"
  }
}
