{
  "manifest_version": "1.0.0",
  "template": {
    "id": "592a5648-a1ff-412b-85c3-d69698a9a00a",
    "slug": "deploy-hyperswitch-payments-on-railway",
    "name": "Hyperswitch",
    "description": "Open-source payments switch: route, retry, vault across processors",
    "url": "https://railway.com/deploy/deploy-hyperswitch-payments-on-railway",
    "upstream": {
      "image": "ghcr.io/onepush-dev/hyperswitch-router:v1.128.0@sha256:71110fad0a471321fc2b1f3794f40f08235b441e64cae4c01dea4904b38fcae4"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.10@sha256:47670742d7924adbcdb404d1288b6327815b23141969c0939b8e5d61f78c2634"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "hyperswitch-router",
      "source": {
        "image": "ghcr.io/onepush-dev/hyperswitch-router:v1.128.0@sha256:71110fad0a471321fc2b1f3794f40f08235b441e64cae4c01dea4904b38fcae4"
      },
      "needs_volume": true,
      "volume_mount_path": "/local/bin/files",
      "http": true
    },
    {
      "name": "control-center",
      "source": {
        "image": "juspaydotin/hyperswitch-control-center:v1.38.10@sha256:be7c128fb0e92a22d576c8ec15a8dffda047ceb5242ca1b4d48dc73d20498366"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18@sha256:fcc6686a3f4f1962fe4ed77a15884553b7bd611ae1cea3204687968c5c09d517"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private host of Redis.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Redis port.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Redis user.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Redis password (alias).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Redis password, generated per deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "hyperswitch-router",
      "description": "Port Railway routes to; the router listens on 8080.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "PGHOST",
      "service": "hyperswitch-router",
      "description": "Postgres private host; used for migrations and every router DB pool.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPORT",
      "service": "hyperswitch-router",
      "description": "Postgres port.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGUSER",
      "service": "hyperswitch-router",
      "description": "Postgres user.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "hyperswitch-router",
      "description": "Postgres database that holds the Hyperswitch schema.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "hyperswitch-router",
      "description": "Postgres password from the Postgres service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ROUTER__REDIS__HOST",
      "service": "hyperswitch-router",
      "description": "Redis private host (cache, locks, streams).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ROUTER__REDIS__PORT",
      "service": "hyperswitch-router",
      "description": "Redis port.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ROUTER__USER__BASE_URL",
      "service": "hyperswitch-router",
      "description": "Public dashboard URL used in user links and redirects.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ROUTER__REDIS__PASSWORD",
      "service": "hyperswitch-router",
      "description": "Redis password from the Redis service.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ROUTER__REDIS__USERNAME",
      "service": "hyperswitch-router",
      "description": "Redis ACL user.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ROUTER__SERVER__WORKERS",
      "service": "hyperswitch-router",
      "description": "HTTP worker threads; 2 keeps memory low.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "ROUTER__API_KEYS__HASH_KEY",
      "service": "hyperswitch-router",
      "description": "64-hex key used to hash API keys; changing it invalidates all keys.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ROUTER__LOG__CONSOLE__LEVEL",
      "service": "hyperswitch-router",
      "description": "Log level printed to stdout (DEBUG, INFO, WARN, ERROR).",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "ROUTER__SECRETS__JWT_SECRET",
      "service": "hyperswitch-router",
      "description": "Signs dashboard login tokens; changing it logs everyone out.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ROUTER__SECRETS__ADMIN_API_KEY",
      "service": "hyperswitch-router",
      "description": "Admin API key for server-to-server admin calls (api-key header). Keep private.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ROUTER__SECRETS__MASTER_ENC_KEY",
      "service": "hyperswitch-router",
      "description": "64-hex master key encrypting merchant data. Never change after first use.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ROUTER__PAYMENT_METHOD_AUTH__PM_AUTH_KEY",
      "service": "hyperswitch-router",
      "description": "Secret for payment-method auth (open banking) flows.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ROUTER__USER_AUTH_METHODS__ENCRYPTION_KEY",
      "service": "hyperswitch-router",
      "description": "64-hex key encrypting SSO/auth-method settings.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ROUTER__MULTITENANCY__TENANTS__PUBLIC__BASE_URL",
      "service": "hyperswitch-router",
      "description": "Public URL of this router (default tenant).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ROUTER__INTERNAL_MERCHANT_ID_PROFILE_ID_AUTH__INTERNAL_API_KEY",
      "service": "hyperswitch-router",
      "description": "Key for internal service-to-service auth (feature off by default).",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ROUTER__MULTITENANCY__TENANTS__PUBLIC__USER__CONTROL_CENTER_URL",
      "service": "hyperswitch-router",
      "description": "Public dashboard URL for the default tenant.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "control-center",
      "description": "Port the dashboard listens on (9000).",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "default__features__totp",
      "service": "control-center",
      "description": "Offer TOTP two-factor auth at login (skippable).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "default__features__email",
      "service": "control-center",
      "description": "Email-based flows (verify, magic link); off because no SMTP.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "default__endpoints__api_url",
      "service": "control-center",
      "description": "Public router URL the dashboard calls from the browser.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory on the volume.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private host of Postgres.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Postgres port.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Postgres user.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Default database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Postgres password.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser name.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "Validity of the self-signed SSL cert in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password, generated per deploy.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Seconds the old deployment drains before stopping.",
      "secret": false,
      "strategy": "default",
      "default": "60"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "deploy-hyperswitch-payments-on-railway"
      }
    },
    "cli": "railway deploy --template deploy-hyperswitch-payments-on-railway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "592a5648-a1ff-412b-85c3-d69698a9a00a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "2a7207de-e97c-43e4-b6ce-9fc82bd48f7d": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.10@sha256:47670742d7924adbcdb404d1288b6327815b23141969c0939b8e5d61f78c2634"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private host of Redis.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Redis port.",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Redis user.",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection URL.",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Redis password (alias).",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password, generated per deploy.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "2a7207de-e97c-43e4-b6ce-9fc82bd48f7d": {
                      "mountPath": "/data"
                    }
                  }
                },
                "dfa4b954-5819-4e41-bf98-938b7b17154d": {
                  "icon": null,
                  "name": "hyperswitch-router",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/onepush-dev/hyperswitch-router:v1.128.0@sha256:71110fad0a471321fc2b1f3794f40f08235b441e64cae4c01dea4904b38fcae4"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway routes to; the router listens on 8080.",
                      "defaultValue": "8080"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Postgres private host; used for migrations and every router DB pool.",
                      "defaultValue": "${{Postgres.PGHOST}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Postgres port.",
                      "defaultValue": "${{Postgres.PGPORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Postgres user.",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Postgres database that holds the Hyperswitch schema.",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password from the Postgres service.",
                      "defaultValue": "${{Postgres.PGPASSWORD}}"
                    },
                    "ROUTER__REDIS__HOST": {
                      "isOptional": false,
                      "description": "Redis private host (cache, locks, streams).",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "ROUTER__REDIS__PORT": {
                      "isOptional": false,
                      "description": "Redis port.",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "ROUTER__USER__BASE_URL": {
                      "isOptional": false,
                      "description": "Public dashboard URL used in user links and redirects.",
                      "defaultValue": "https://${{control-center.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ROUTER__REDIS__PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password from the Redis service.",
                      "defaultValue": "${{Redis.REDISPASSWORD}}"
                    },
                    "ROUTER__REDIS__USERNAME": {
                      "isOptional": false,
                      "description": "Redis ACL user.",
                      "defaultValue": "${{Redis.REDISUSER}}"
                    },
                    "ROUTER__SERVER__WORKERS": {
                      "isOptional": false,
                      "description": "HTTP worker threads; 2 keeps memory low.",
                      "defaultValue": "2"
                    },
                    "ROUTER__API_KEYS__HASH_KEY": {
                      "isOptional": false,
                      "description": "64-hex key used to hash API keys; changing it invalidates all keys.",
                      "defaultValue": "{{ROUTER__API_KEYS__HASH_KEY}}"
                    },
                    "ROUTER__LOG__CONSOLE__LEVEL": {
                      "isOptional": false,
                      "description": "Log level printed to stdout (DEBUG, INFO, WARN, ERROR).",
                      "defaultValue": "INFO"
                    },
                    "ROUTER__SECRETS__JWT_SECRET": {
                      "isOptional": false,
                      "description": "Signs dashboard login tokens; changing it logs everyone out.",
                      "defaultValue": "{{ROUTER__SECRETS__JWT_SECRET}}"
                    },
                    "ROUTER__SECRETS__ADMIN_API_KEY": {
                      "isOptional": false,
                      "description": "Admin API key for server-to-server admin calls (api-key header). Keep private.",
                      "defaultValue": "{{ROUTER__SECRETS__ADMIN_API_KEY}}"
                    },
                    "ROUTER__SECRETS__MASTER_ENC_KEY": {
                      "isOptional": false,
                      "description": "64-hex master key encrypting merchant data. Never change after first use.",
                      "defaultValue": "{{ROUTER__SECRETS__MASTER_ENC_KEY}}"
                    },
                    "ROUTER__PAYMENT_METHOD_AUTH__PM_AUTH_KEY": {
                      "isOptional": false,
                      "description": "Secret for payment-method auth (open banking) flows.",
                      "defaultValue": "{{ROUTER__PAYMENT_METHOD_AUTH__PM_AUTH_KEY}}"
                    },
                    "ROUTER__USER_AUTH_METHODS__ENCRYPTION_KEY": {
                      "isOptional": false,
                      "description": "64-hex key encrypting SSO/auth-method settings.",
                      "defaultValue": "{{ROUTER__USER_AUTH_METHODS__ENCRYPTION_KEY}}"
                    },
                    "ROUTER__MULTITENANCY__TENANTS__PUBLIC__BASE_URL": {
                      "isOptional": false,
                      "description": "Public URL of this router (default tenant).",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ROUTER__INTERNAL_MERCHANT_ID_PROFILE_ID_AUTH__INTERNAL_API_KEY": {
                      "isOptional": false,
                      "description": "Key for internal service-to-service auth (feature off by default).",
                      "defaultValue": "{{ROUTER__INTERNAL_MERCHANT_ID_PROFILE_ID_AUTH__INTERNAL_API_KEY}}"
                    },
                    "ROUTER__MULTITENANCY__TENANTS__PUBLIC__USER__CONTROL_CENTER_URL": {
                      "isOptional": false,
                      "description": "Public dashboard URL for the default tenant.",
                      "defaultValue": "https://${{control-center.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "dfa4b954-5819-4e41-bf98-938b7b17154d": {
                      "mountPath": "/local/bin/files"
                    }
                  }
                },
                "ee286ecc-f2bb-4073-ad13-1d61385c24bd": {
                  "icon": null,
                  "name": "control-center",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "juspaydotin/hyperswitch-control-center:v1.38.10@sha256:be7c128fb0e92a22d576c8ec15a8dffda047ceb5242ca1b4d48dc73d20498366"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the dashboard listens on (9000).",
                      "defaultValue": "9000"
                    },
                    "default__features__totp": {
                      "isOptional": false,
                      "description": "Offer TOTP two-factor auth at login (skippable).",
                      "defaultValue": "true"
                    },
                    "default__features__email": {
                      "isOptional": false,
                      "description": "Email-based flows (verify, magic link); off because no SMTP.",
                      "defaultValue": "false"
                    },
                    "default__endpoints__api_url": {
                      "isOptional": false,
                      "description": "Public router URL the dashboard calls from the browser.",
                      "defaultValue": "https://${{hyperswitch-router.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:9000": {
                        "port": 9000
                      }
                    }
                  }
                },
                "fe644114-b7ca-471e-ac55-5bc03f967038": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18@sha256:fcc6686a3f4f1962fe4ed77a15884553b7bd611ae1cea3204687968c5c09d517"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory on the volume.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private host of Postgres.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Postgres port.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Postgres user.",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Default database.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password.",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection URL.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser name.",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "Validity of the self-signed SSL cert in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password, generated per deploy.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Seconds the old deployment drains before stopping.",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "fe644114-b7ca-471e-ac55-5bc03f967038": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "hyperswitch-router",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-10-17T16:14:42.276Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-17T12:21:30.950Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_3af6f686b74940e3ae2c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "SUCCESS,SUCCESS,SUCCESS,FAILED"
      }
    ]
  }
}
