{
  "manifest_version": "1.0.0",
  "template": {
    "id": "05228e19-723e-4b1b-9758-b466402e4cd6",
    "slug": "wr1OLZ",
    "name": "ReadySet",
    "description": "A lightweight caching engine for Postgres",
    "url": "https://railway.com/deploy/wr1OLZ"
  },
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "postgres:17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "ReadySet",
      "source": {
        "image": "readysettech/readyset"
      },
      "needs_volume": false,
      "tcp_ports": [
        5433
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway TCP Proxy Domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PRIVATE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "ReadySet",
      "description": "The port for ReadySet to listen on",
      "secret": false,
      "strategy": "default",
      "default": "5433"
    },
    {
      "key": "STANDALONE",
      "service": "ReadySet",
      "description": "Run ReadySet as a single process",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LISTEN_ADDRESS",
      "service": "ReadySet",
      "description": "The address for ReadySet to listen on",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "UPSTREAM_DB_URL",
      "service": "ReadySet",
      "description": "Connection string to the regular Postgres instance",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DISABLE_TELEMETRY",
      "service": "ReadySet",
      "description": "Disables telemtry",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "READYSET_DATABASE_URL",
      "service": "ReadySet",
      "description": "URL to connect to your ReadySet enhanced database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "READYSET_DATABASE_PRIVATE_URL",
      "service": "ReadySet",
      "description": "URL to connect to your ReadySet enhanced database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DISABLE_UPSTREAM_SSL_VERIFICATION",
      "service": "ReadySet",
      "description": "Disable upstream SSL verification",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wr1OLZ"
      }
    },
    "cli": "railway deploy --template wr1OLZ",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "05228e19-723e-4b1b-9758-b466402e4cd6",
            "serializedConfig": {
              "services": {
                "6ec329b0-db02-4fb3-915c-74a5ff842fb3": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh postgres -c wal_level=logical --port=5432"
                  },
                  "source": {
                    "image": "postgres:17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway TCP Proxy Domain",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "6ec329b0-db02-4fb3-915c-74a5ff842fb3": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "a2362ff5-a021-4c7d-a9fc-88e56135b446": {
                  "icon": "https://readyset.io/favicon.ico",
                  "name": "ReadySet",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "image": "readysettech/readyset"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port for ReadySet to listen on",
                      "defaultValue": "5433"
                    },
                    "STANDALONE": {
                      "isOptional": false,
                      "description": "Run ReadySet as a single process",
                      "defaultValue": "true"
                    },
                    "LISTEN_ADDRESS": {
                      "isOptional": false,
                      "description": "The address for ReadySet to listen on",
                      "defaultValue": "[::]:${{PORT}}"
                    },
                    "UPSTREAM_DB_URL": {
                      "isOptional": false,
                      "description": "Connection string to the regular Postgres instance",
                      "defaultValue": "${{Postgres.DATABASE_PRIVATE_URL}}?sslmode=disable"
                    },
                    "DISABLE_TELEMETRY": {
                      "isOptional": false,
                      "description": "Disables telemtry",
                      "defaultValue": "true"
                    },
                    "READYSET_DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to your ReadySet enhanced database",
                      "defaultValue": "postgresql://${{Postgres.PGUSER}}:${{Postgres.POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{Postgres.PGDATABASE}}?sslmode=disable"
                    },
                    "READYSET_DATABASE_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to your ReadySet enhanced database",
                      "defaultValue": "postgresql://${{Postgres.PGUSER}}:${{Postgres.POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5433/${{Postgres.PGDATABASE}}?sslmode=disable"
                    },
                    "DISABLE_UPSTREAM_SSL_VERIFICATION": {
                      "isOptional": false,
                      "description": "Disable upstream SSL verification",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5433": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-15T10:14:39.124Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T14:27:06.309Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_bf72b8b98ad14b33980b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 93,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "ReadySet"
  }
}
