{
  "manifest_version": "1.0.0",
  "template": {
    "id": "df12f780-1ade-4eef-b9cc-54e482361c5f",
    "slug": "medusa-v2-commerce-store-backend-storefr",
    "name": "Medusa v2 Commerce Store (Backend + Storefront)",
    "description": "Headless e-commerce with admin, Next.js storefront, search and workers.",
    "url": "https://railway.com/deploy/medusa-v2-commerce-store-backend-storefr",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/medusa-railway"
    }
  },
  "services": [
    {
      "name": "Storefront",
      "source": {
        "repo": "https://github.com/baranberkay96/medusa-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Meilisearch",
      "source": {
        "image": "getmeili/meilisearch:v1.54.3"
      },
      "needs_volume": true,
      "volume_mount_path": "/meili_data",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "Worker",
      "source": {
        "repo": "https://github.com/baranberkay96/medusa-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Backend",
      "source": {
        "repo": "https://github.com/baranberkay96/medusa-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Media-Proxy",
      "source": {
        "repo": "https://github.com/baranberkay96/medusa-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Storefront",
      "description": "HTTP port of the Next.js server.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "NODE_ENV",
      "service": "Storefront",
      "description": "Run Next.js in production mode.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "MEDUSA_INTERNAL_URL",
      "service": "Storefront",
      "description": "Backend URL on the private network, used only at start to fetch the publishable API key.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "NEXT_PUBLIC_BASE_URL",
      "service": "Storefront",
      "description": "Public URL of this storefront, used for absolute links and metadata.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "KEY_WAIT_TIMEOUT_SECONDS",
      "service": "Storefront",
      "description": "Maximum time to wait for the Backend at start before the container exits and restarts.",
      "secret": true,
      "strategy": "default",
      "default": "840"
    },
    {
      "key": "NEXT_PUBLIC_DEFAULT_REGION",
      "service": "Storefront",
      "description": "Fallback country code; must belong to a region in Medusa (the demo region covers gb, de, dk, se, fr, es, it).",
      "secret": false,
      "strategy": "default",
      "default": "dk"
    },
    {
      "key": "STOREFRONT_BOOTSTRAP_TOKEN",
      "service": "Storefront",
      "description": "Token for the Backend's /internal/publishable-key route.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_MEDUSA_BACKEND_URL",
      "service": "Storefront",
      "description": "Public backend URL used by the browser and the server (applied at container start).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "Meilisearch",
      "description": "Port Meilisearch listens on (used by the healthcheck and the Backend URL).",
      "secret": false,
      "strategy": "default",
      "default": "7700"
    },
    {
      "key": "MEILI_ENV",
      "service": "Meilisearch",
      "description": "Production mode: requires the master key and disables the search preview UI.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "MEILI_DB_PATH",
      "service": "Meilisearch",
      "description": "Index storage on the volume.",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/data.ms"
    },
    {
      "key": "MEILI_DUMP_DIR",
      "service": "Meilisearch",
      "description": "Dump directory on the volume (used for upgrades and backups).",
      "secret": false,
      "strategy": "default",
      "default": "/meili_data/dumps"
    },
    {
      "key": "MEILI_HTTP_ADDR",
      "service": "Meilisearch",
      "description": "Listen on all IPv4/IPv6 interfaces for the private network.",
      "secret": false,
      "strategy": "default",
      "default": "[::]:7700"
    },
    {
      "key": "MEILI_MASTER_KEY",
      "service": "Meilisearch",
      "description": "Master key protecting the Meilisearch API (generated).",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MEILI_NO_ANALYTICS",
      "service": "Meilisearch",
      "description": "Disable Meilisearch telemetry.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MEILI_MAX_INDEXING_MEMORY",
      "service": "Meilisearch",
      "description": "Upper bound for indexing memory so the container stays within its RAM budget.",
      "secret": false,
      "strategy": "default",
      "default": "1GiB"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port that Redis listens on",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for authenticating with Redis",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to Redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Randomly generated password for authenticating with Redis",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "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 Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "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": "railway_private_domain"
    },
    {
      "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": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "Worker",
      "description": "Port of the worker's internal /health endpoint (used by the Railway healthcheck).",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "NODE_ENV",
      "service": "Worker",
      "description": "Run Medusa in production mode.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "Worker",
      "description": "Redis connection (same instance as the Backend).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_BUCKET",
      "service": "Worker",
      "description": "Bucket name used for the S3 API (Railway Bucket reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "Worker",
      "description": "Bucket region (Railway Bucket reference, usually auto).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "JWT_SECRET",
      "service": "Worker",
      "description": "Same JWT secret as the Backend.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "Worker",
      "description": "S3 API endpoint of the Railway Bucket (public network only).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FILE_URL",
      "service": "Worker",
      "description": "Same public file URL as the Backend.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Worker",
      "description": "Postgres connection string over the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "COOKIE_SECRET",
      "service": "Worker",
      "description": "Same cookie secret as the Backend.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STRIPE_API_KEY",
      "service": "Worker",
      "description": "Same Stripe configuration as the Backend (optional).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEILISEARCH_HOST",
      "service": "Worker",
      "description": "Same Meilisearch URL as the Backend (indexing runs on the worker).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "Worker",
      "description": "Bucket access key ID (Railway Bucket reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEDUSA_BACKEND_URL",
      "service": "Worker",
      "description": "Public backend URL, for links generated by background jobs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEDUSA_WORKER_MODE",
      "service": "Worker",
      "description": "Process subscribers, scheduled jobs, workflows and search indexing; no public HTTP.",
      "secret": false,
      "strategy": "default",
      "default": "worker"
    },
    {
      "key": "MEILISEARCH_API_KEY",
      "service": "Worker",
      "description": "Same Meilisearch key as the Backend.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "Worker",
      "description": "Same URL style setting as the Backend.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DISABLE_MEDUSA_ADMIN",
      "service": "Worker",
      "description": "The worker does not build or serve the admin dashboard.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "Worker",
      "description": "Bucket secret access key (Railway Bucket reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "STRIPE_WEBHOOK_SECRET",
      "service": "Worker",
      "description": "Same Stripe webhook secret as the Backend (optional).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEDUSA_SERVER_HEALTH_URL",
      "service": "Worker",
      "description": "The worker waits for this URL before starting, so it never runs before the Backend's migrations.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WAIT_FOR_SERVER_TIMEOUT_SECONDS",
      "service": "Worker",
      "description": "Maximum wait for the Backend health URL before starting anyway.",
      "secret": false,
      "strategy": "default",
      "default": "840"
    },
    {
      "key": "PORT",
      "service": "Backend",
      "description": "HTTP port Medusa listens on (also used by the Railway healthcheck).",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "NODE_ENV",
      "service": "Backend",
      "description": "Run Medusa in production mode.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "AUTH_CORS",
      "service": "Backend",
      "description": "Origins allowed to call the auth routes (admin and storefront).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_URL",
      "service": "Backend",
      "description": "Redis for sessions, events, workflows, locking and cache; family=0 enables IPv4+IPv6 lookup.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_BUCKET",
      "service": "Backend",
      "description": "Bucket name used for the S3 API (Railway Bucket reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "Backend",
      "description": "Bucket region (Railway Bucket reference, usually auto).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_CORS",
      "service": "Backend",
      "description": "Origins allowed to call the Admin API (the admin is served from this domain).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "JWT_SECRET",
      "service": "Backend",
      "description": "Secret used to sign auth tokens. Generated; shared with the Worker.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "STORE_CORS",
      "service": "Backend",
      "description": "Origins allowed to call the Store API (the storefront domain; comma-separate extra domains).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "Backend",
      "description": "S3 API endpoint of the Railway Bucket (public network only).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FILE_URL",
      "service": "Backend",
      "description": "Public base URL for uploaded files: the Media-Proxy service, because Railway Buckets are private.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "Backend",
      "description": "Postgres connection string over the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "COOKIE_SECRET",
      "service": "Backend",
      "description": "Secret used to sign session cookies. Generated; shared with the Worker.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MEILISEARCH_HOST",
      "service": "Backend",
      "description": "Meilisearch URL over the private network. Clear it (Backend and Worker) to use Medusa's built-in PostgreSQL search instead.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "Backend",
      "description": "Bucket access key ID (Railway Bucket reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEDUSA_ADMIN_EMAIL",
      "service": "Backend",
      "description": "Login email of the first admin user, created on first deploy. Change it to your own address before deploying.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "MEDUSA_BACKEND_URL",
      "service": "Backend",
      "description": "Public URL of this backend (admin and API).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MEDUSA_WORKER_MODE",
      "service": "Backend",
      "description": "This instance only serves HTTP; background jobs run on the Worker service.",
      "secret": false,
      "strategy": "default",
      "default": "server"
    },
    {
      "key": "SEED_DEMO_PRODUCTS",
      "service": "Backend",
      "description": "Set to true to add 50 extra demo products on the next deploy (idempotent). The base demo store is always created on first migration.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "MEILISEARCH_API_KEY",
      "service": "Backend",
      "description": "Meilisearch key used by the backend to manage and query indexes.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "Backend",
      "description": "Set to true only for older Railway Buckets that require path-style URLs (see the bucket's Credentials tab).",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "DISABLE_MEDUSA_ADMIN",
      "service": "Backend",
      "description": "Keep false here: this service builds and serves the admin dashboard at /app.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "Backend",
      "description": "Bucket secret access key (Railway Bucket reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MEDUSA_ADMIN_PASSWORD",
      "service": "Backend",
      "description": "Password of the first admin user (generated). Only used to create the user; change it later in the admin.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "STOREFRONT_BOOTSTRAP_TOKEN",
      "service": "Backend",
      "description": "Shared token the Storefront uses to fetch the publishable API key from /internal/publishable-key at start.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PORT",
      "service": "Media-Proxy",
      "description": "HTTP port of the proxy.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "S3_BUCKET",
      "service": "Media-Proxy",
      "description": "Bucket name used for the S3 API (Railway Bucket reference).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_REGION",
      "service": "Media-Proxy",
      "description": "Bucket region (Railway Bucket reference, usually auto).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "Media-Proxy",
      "description": "S3 API endpoint of the Railway Bucket (public network only).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CACHE_CONTROL",
      "service": "Media-Proxy",
      "description": "Cache-Control header for served files (Medusa file keys are unique per upload).",
      "secret": false,
      "strategy": "default",
      "default": "public, max-age=31536000, immutable"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "Media-Proxy",
      "description": "Bucket access key ID (Railway Bucket reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FORCE_PATH_STYLE",
      "service": "Media-Proxy",
      "description": "Same URL style setting as the Backend.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "Media-Proxy",
      "description": "Bucket secret access key (Railway Bucket reference).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ALLOWED_CONTENT_TYPES",
      "service": "Media-Proxy",
      "description": "Comma-separated content-type prefixes the proxy serves; other objects return 404.",
      "secret": false,
      "strategy": "default",
      "default": "image/,video/"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "medusa-v2-commerce-store-backend-storefr"
      }
    },
    "cli": "railway deploy --template medusa-v2-commerce-store-backend-storefr",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "df12f780-1ade-4eef-b9cc-54e482361c5f",
            "serializedConfig": {
              "buckets": {
                "c6d11d65-b1f3-5328-895e-2ec693aba21f": {
                  "name": "Bucket"
                }
              },
              "services": {
                "214c25f2-a077-5ac5-b6f6-bf1cc58e7236": {
                  "icon": "https://devicons.railway.app/i/nextjs.svg",
                  "name": "Storefront",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 900,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/medusa-railway",
                    "branch": "main",
                    "rootDirectory": "/services/storefront"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "HTTP port of the Next.js server.",
                      "defaultValue": "8000"
                    },
                    "NODE_ENV": {
                      "isOptional": true,
                      "description": "Run Next.js in production mode.",
                      "defaultValue": "production"
                    },
                    "MEDUSA_INTERNAL_URL": {
                      "isOptional": true,
                      "description": "Backend URL on the private network, used only at start to fetch the publishable API key.",
                      "defaultValue": "http://${{Backend.RAILWAY_PRIVATE_DOMAIN}}:${{Backend.PORT}}"
                    },
                    "NEXT_PUBLIC_BASE_URL": {
                      "isOptional": true,
                      "description": "Public URL of this storefront, used for absolute links and metadata.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NEXT_PUBLIC_STRIPE_KEY": {
                      "isOptional": true,
                      "description": "Optional. Stripe publishable key; build-time value, redeploy after changing it.",
                      "defaultValue": ""
                    },
                    "KEY_WAIT_TIMEOUT_SECONDS": {
                      "isOptional": true,
                      "description": "Maximum time to wait for the Backend at start before the container exits and restarts.",
                      "defaultValue": "840"
                    },
                    "NEXT_PUBLIC_DEFAULT_REGION": {
                      "isOptional": true,
                      "description": "Fallback country code; must belong to a region in Medusa (the demo region covers gb, de, dk, se, fr, es, it).",
                      "defaultValue": "dk"
                    },
                    "STOREFRONT_BOOTSTRAP_TOKEN": {
                      "isOptional": true,
                      "description": "Token for the Backend's /internal/publishable-key route.",
                      "defaultValue": "${{Backend.STOREFRONT_BOOTSTRAP_TOKEN}}"
                    },
                    "NEXT_PUBLIC_MEDUSA_BACKEND_URL": {
                      "isOptional": true,
                      "description": "Public backend URL used by the browser and the server (applied at container start).",
                      "defaultValue": "https://${{Backend.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY": {
                      "isOptional": true,
                      "description": "Optional override (pk_...). Leave empty to fetch the key from the Backend automatically.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  }
                },
                "2b29b382-26a7-5a19-9c5f-eb8e6152f5c1": {
                  "icon": "https://avatars.githubusercontent.com/u/43250847?v=4",
                  "name": "Meilisearch",
                  "deploy": {
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 120,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "getmeili/meilisearch:v1.54.3"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port Meilisearch listens on (used by the healthcheck and the Backend URL).",
                      "defaultValue": "7700"
                    },
                    "MEILI_ENV": {
                      "isOptional": true,
                      "description": "Production mode: requires the master key and disables the search preview UI.",
                      "defaultValue": "production"
                    },
                    "MEILI_DB_PATH": {
                      "isOptional": true,
                      "description": "Index storage on the volume.",
                      "defaultValue": "/meili_data/data.ms"
                    },
                    "MEILI_DUMP_DIR": {
                      "isOptional": true,
                      "description": "Dump directory on the volume (used for upgrades and backups).",
                      "defaultValue": "/meili_data/dumps"
                    },
                    "MEILI_HTTP_ADDR": {
                      "isOptional": true,
                      "description": "Listen on all IPv4/IPv6 interfaces for the private network.",
                      "defaultValue": "[::]:7700"
                    },
                    "MEILI_MASTER_KEY": {
                      "isOptional": true,
                      "description": "Master key protecting the Meilisearch API (generated).",
                      "defaultValue": "{{MEILI_MASTER_KEY}}"
                    },
                    "MEILI_NO_ANALYTICS": {
                      "isOptional": true,
                      "description": "Disable Meilisearch telemetry.",
                      "defaultValue": "true"
                    },
                    "MEILI_MAX_INDEXING_MEMORY": {
                      "isOptional": true,
                      "description": "Upper bound for indexing memory so the container stays within its RAM budget.",
                      "defaultValue": "1GiB"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "8872ae66-b774-5fb1-b161-2c1d178907fd": {
                      "mountPath": "/meili_data"
                    }
                  }
                },
                "4f27cac3-cd8a-5113-a573-02bf982a1789": {
                  "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\"",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": true,
                      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": true,
                      "description": "Port that Redis listens on",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": true,
                      "description": "Username for authenticating with Redis",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Connection string for connecting to Redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": true,
                      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": true,
                      "description": "Randomly generated password for authenticating with Redis",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "ebd8ee97-b436-5d8a-96a0-1a6b573b53b3": {
                      "mountPath": "/data"
                    }
                  }
                },
                "9d85f964-9db2-5878-8b81-0047a069f36f": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": true,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": true,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": true,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": true,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": true,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": true,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": true,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": true,
                      "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": true,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "585698bc-4491-5f55-8e51-de33b896a7a0": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "bc0ed3b2-f993-5aad-a970-621f30cbc2b8": {
                  "icon": "https://avatars.githubusercontent.com/u/62591822?v=4",
                  "name": "Worker",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 900,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/medusa-railway",
                    "branch": "main",
                    "rootDirectory": "/services/backend"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port of the worker's internal /health endpoint (used by the Railway healthcheck).",
                      "defaultValue": "9000"
                    },
                    "NODE_ENV": {
                      "isOptional": true,
                      "description": "Run Medusa in production mode.",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Redis connection (same instance as the Backend).",
                      "defaultValue": "${{Redis.REDIS_URL}}?family=0"
                    },
                    "S3_BUCKET": {
                      "isOptional": true,
                      "description": "Bucket name used for the S3 API (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": true,
                      "description": "Bucket region (Railway Bucket reference, usually auto).",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "JWT_SECRET": {
                      "isOptional": true,
                      "description": "Same JWT secret as the Backend.",
                      "defaultValue": "${{Backend.JWT_SECRET}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "S3 API endpoint of the Railway Bucket (public network only).",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "S3_FILE_URL": {
                      "isOptional": true,
                      "description": "Same public file URL as the Backend.",
                      "defaultValue": "${{Backend.S3_FILE_URL}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres connection string over the private network.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "COOKIE_SECRET": {
                      "isOptional": true,
                      "description": "Same cookie secret as the Backend.",
                      "defaultValue": "${{Backend.COOKIE_SECRET}}"
                    },
                    "STRIPE_API_KEY": {
                      "isOptional": true,
                      "description": "Same Stripe configuration as the Backend (optional).",
                      "defaultValue": "${{Backend.STRIPE_API_KEY}}"
                    },
                    "MEILISEARCH_HOST": {
                      "isOptional": true,
                      "description": "Same Meilisearch URL as the Backend (indexing runs on the worker).",
                      "defaultValue": "${{Backend.MEILISEARCH_HOST}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Bucket access key ID (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "MEDUSA_BACKEND_URL": {
                      "isOptional": true,
                      "description": "Public backend URL, for links generated by background jobs.",
                      "defaultValue": "${{Backend.MEDUSA_BACKEND_URL}}"
                    },
                    "MEDUSA_WORKER_MODE": {
                      "isOptional": true,
                      "description": "Process subscribers, scheduled jobs, workflows and search indexing; no public HTTP.",
                      "defaultValue": "worker"
                    },
                    "MEILISEARCH_API_KEY": {
                      "isOptional": true,
                      "description": "Same Meilisearch key as the Backend.",
                      "defaultValue": "${{Backend.MEILISEARCH_API_KEY}}"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "isOptional": true,
                      "description": "Same URL style setting as the Backend.",
                      "defaultValue": "${{Backend.S3_FORCE_PATH_STYLE}}"
                    },
                    "DISABLE_MEDUSA_ADMIN": {
                      "isOptional": true,
                      "description": "The worker does not build or serve the admin dashboard.",
                      "defaultValue": "true"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Bucket secret access key (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    },
                    "STRIPE_WEBHOOK_SECRET": {
                      "isOptional": true,
                      "description": "Same Stripe webhook secret as the Backend (optional).",
                      "defaultValue": "${{Backend.STRIPE_WEBHOOK_SECRET}}"
                    },
                    "MEDUSA_SERVER_HEALTH_URL": {
                      "isOptional": true,
                      "description": "The worker waits for this URL before starting, so it never runs before the Backend's migrations.",
                      "defaultValue": "http://${{Backend.RAILWAY_PRIVATE_DOMAIN}}:${{Backend.PORT}}/health"
                    },
                    "WAIT_FOR_SERVER_TIMEOUT_SECONDS": {
                      "isOptional": true,
                      "description": "Maximum wait for the Backend health URL before starting anyway.",
                      "defaultValue": "840"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "c1cfe5aa-a6d9-56b3-9c5b-fc8bea586733": {
                  "icon": "https://avatars.githubusercontent.com/u/62591822?v=4",
                  "name": "Backend",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/health",
                    "preDeployCommand": [
                      "sh /app/scripts/predeploy.sh"
                    ],
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/medusa-railway",
                    "branch": "main",
                    "rootDirectory": "/services/backend"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "HTTP port Medusa listens on (also used by the Railway healthcheck).",
                      "defaultValue": "9000"
                    },
                    "NODE_ENV": {
                      "isOptional": true,
                      "description": "Run Medusa in production mode.",
                      "defaultValue": "production"
                    },
                    "AUTH_CORS": {
                      "isOptional": true,
                      "description": "Origins allowed to call the auth routes (admin and storefront).",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}},https://${{Storefront.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Redis for sessions, events, workflows, locking and cache; family=0 enables IPv4+IPv6 lookup.",
                      "defaultValue": "${{Redis.REDIS_URL}}?family=0"
                    },
                    "S3_BUCKET": {
                      "isOptional": true,
                      "description": "Bucket name used for the S3 API (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": true,
                      "description": "Bucket region (Railway Bucket reference, usually auto).",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "ADMIN_CORS": {
                      "isOptional": true,
                      "description": "Origins allowed to call the Admin API (the admin is served from this domain).",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "JWT_SECRET": {
                      "isOptional": true,
                      "description": "Secret used to sign auth tokens. Generated; shared with the Worker.",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "STORE_CORS": {
                      "isOptional": true,
                      "description": "Origins allowed to call the Store API (the storefront domain; comma-separate extra domains).",
                      "defaultValue": "https://${{Storefront.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "S3 API endpoint of the Railway Bucket (public network only).",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "S3_FILE_URL": {
                      "isOptional": true,
                      "description": "Public base URL for uploaded files: the Media-Proxy service, because Railway Buckets are private.",
                      "defaultValue": "https://${{Media-Proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres connection string over the private network.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "COOKIE_SECRET": {
                      "isOptional": true,
                      "description": "Secret used to sign session cookies. Generated; shared with the Worker.",
                      "defaultValue": "{{COOKIE_SECRET}}"
                    },
                    "STRIPE_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Stripe secret key; enables the Stripe payment provider (then enable it per region in the admin).",
                      "defaultValue": ""
                    },
                    "MEILISEARCH_HOST": {
                      "isOptional": true,
                      "description": "Meilisearch URL over the private network. Clear it (Backend and Worker) to use Medusa's built-in PostgreSQL search instead.",
                      "defaultValue": "http://${{Meilisearch.RAILWAY_PRIVATE_DOMAIN}}:${{Meilisearch.PORT}}"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Bucket access key ID (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "MEDUSA_ADMIN_EMAIL": {
                      "isOptional": true,
                      "description": "Login email of the first admin user, created on first deploy. Change it to your own address before deploying.",
                      "defaultValue": "admin@example.com"
                    },
                    "MEDUSA_BACKEND_URL": {
                      "isOptional": true,
                      "description": "Public URL of this backend (admin and API).",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MEDUSA_WORKER_MODE": {
                      "isOptional": true,
                      "description": "This instance only serves HTTP; background jobs run on the Worker service.",
                      "defaultValue": "server"
                    },
                    "SEED_DEMO_PRODUCTS": {
                      "isOptional": true,
                      "description": "Set to true to add 50 extra demo products on the next deploy (idempotent). The base demo store is always created on first migration.",
                      "defaultValue": "false"
                    },
                    "MEILISEARCH_API_KEY": {
                      "isOptional": true,
                      "description": "Meilisearch key used by the backend to manage and query indexes.",
                      "defaultValue": "${{Meilisearch.MEILI_MASTER_KEY}}"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "isOptional": true,
                      "description": "Set to true only for older Railway Buckets that require path-style URLs (see the bucket's Credentials tab).",
                      "defaultValue": "false"
                    },
                    "DISABLE_MEDUSA_ADMIN": {
                      "isOptional": true,
                      "description": "Keep false here: this service builds and serves the admin dashboard at /app.",
                      "defaultValue": "false"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Bucket secret access key (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    },
                    "MEDUSA_ADMIN_PASSWORD": {
                      "isOptional": true,
                      "description": "Password of the first admin user (generated). Only used to create the user; change it later in the admin.",
                      "defaultValue": "{{MEDUSA_ADMIN_PASSWORD}}"
                    },
                    "STRIPE_WEBHOOK_SECRET": {
                      "isOptional": true,
                      "description": "Optional. Stripe webhook signing secret for <backend URL>/hooks/payment/stripe_stripe.",
                      "defaultValue": ""
                    },
                    "STOREFRONT_BOOTSTRAP_TOKEN": {
                      "isOptional": true,
                      "description": "Shared token the Storefront uses to fetch the publishable API key from /internal/publishable-key at start.",
                      "defaultValue": "{{STOREFRONT_BOOTSTRAP_TOKEN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:9000": {
                        "port": 9000
                      }
                    }
                  }
                },
                "c6134c48-a9a8-5875-95cb-fb64dfca1400": {
                  "icon": "https://devicons.railway.app/i/bun.svg",
                  "name": "Media-Proxy",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 60,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/medusa-railway",
                    "branch": "main",
                    "rootDirectory": "/services/media-proxy"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "HTTP port of the proxy.",
                      "defaultValue": "8080"
                    },
                    "S3_BUCKET": {
                      "isOptional": true,
                      "description": "Bucket name used for the S3 API (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": true,
                      "description": "Bucket region (Railway Bucket reference, usually auto).",
                      "defaultValue": "${{Bucket.REGION}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "S3 API endpoint of the Railway Bucket (public network only).",
                      "defaultValue": "${{Bucket.ENDPOINT}}"
                    },
                    "CACHE_CONTROL": {
                      "isOptional": true,
                      "description": "Cache-Control header for served files (Medusa file keys are unique per upload).",
                      "defaultValue": "public, max-age=31536000, immutable"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": true,
                      "description": "Bucket access key ID (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.ACCESS_KEY_ID}}"
                    },
                    "S3_FORCE_PATH_STYLE": {
                      "isOptional": true,
                      "description": "Same URL style setting as the Backend.",
                      "defaultValue": "${{Backend.S3_FORCE_PATH_STYLE}}"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": true,
                      "description": "Bucket secret access key (Railway Bucket reference).",
                      "defaultValue": "${{Bucket.SECRET_ACCESS_KEY}}"
                    },
                    "ALLOWED_CONTENT_TYPES": {
                      "isOptional": true,
                      "description": "Comma-separated content-type prefixes the proxy serves; other objects return 404.",
                      "defaultValue": "image/,video/"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Storefront",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 7,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T16:14:40.554Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-11T14:51:55.962Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_d69dbe3cfbc04cd1a419",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
