{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0c5847f7-e4c4-4616-b9e3-ce5f768a9052",
    "slug": "keeper",
    "name": "Sync Google, Outlook & iCloud Calendars — Self-Host Keeper.sh on Railway",
    "description": "Self-host Keeper.sh: sync Google, Outlook & iCloud. MCP server included.",
    "url": "https://railway.com/deploy/keeper",
    "upstream": {
      "image": "ghcr.io/ridafkih/keeper-standalone:2.10"
    }
  },
  "services": [
    {
      "name": "Keeper",
      "source": {
        "image": "ghcr.io/ridafkih/keeper-standalone:2.10"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Keeper",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "ENCRYPTION_KEY",
      "service": "Keeper",
      "description": "Provide a value for ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TRUSTED_ORIGINS",
      "service": "Keeper",
      "description": "Provide a value for TRUSTED_ORIGINS.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "BETTER_AUTH_SECRET",
      "service": "Keeper",
      "description": "Provide a value for BETTER_AUTH_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "keeper"
      }
    },
    "cli": "railway deploy --template keeper",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0c5847f7-e4c4-4616-b9e3-ce5f768a9052",
            "serializedConfig": {
              "services": {
                "3b361d8c-e4b1-4549-8b72-ceb43c813edb": {
                  "name": "Keeper",
                  "source": {
                    "image": "ghcr.io/ridafkih/keeper-standalone:2.10"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "80"
                    },
                    "ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{ENCRYPTION_KEY}}"
                    },
                    "RESEND_API_KEY": {
                      "isOptional": true,
                      "description": "For sending auth/invite emails",
                      "defaultValue": ""
                    },
                    "TRUSTED_ORIGINS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Google Cloud Console → OAuth 2.0 credentials",
                      "defaultValue": ""
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "BETTER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{BETTER_AUTH_SECRET}}"
                    },
                    "MICROSOFT_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Azure Portal → App registrations",
                      "defaultValue": ""
                    },
                    "GOOGLE_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Google Cloud Console → OAuth 2.0 credentials",
                      "defaultValue": ""
                    },
                    "MICROSOFT_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Azure Portal → App registrations",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "3b361d8c-e4b1-4549-8b72-ceb43c813edb": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T09:55:43.963Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_edda021776774ad8996e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 80,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Keeper"
  }
}
