{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7801c64f-031e-40b6-a770-793a4afbb22f",
    "slug": "saleor-backend-with-storefront",
    "name": "Saleor Backend with Storefront",
    "description": "Saleor backend services - API, Dashboard, Worker & Scheduler with Store",
    "url": "https://railway.com/deploy/saleor-backend-with-storefront",
    "upstream": {
      "image": "ghcr.io/saleor/saleor:3.21"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "saleor-api",
      "source": {
        "image": "ghcr.io/saleor/saleor:3.21"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "bitnami/redis:7.2.5"
      },
      "needs_volume": true,
      "volume_mount_path": "/bitnami",
      "tcp_ports": [
        6379
      ],
      "http": false
    },
    {
      "name": "saleor-dashboard",
      "source": {
        "image": "ghcr.io/saleor/saleor-dashboard:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:16"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "tcp_ports": [
        5432
      ],
      "http": false
    },
    {
      "name": "saleor-worker",
      "source": {
        "image": "ghcr.io/saleor/saleor:3.21"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "saleor-scheduler",
      "source": {
        "image": "ghcr.io/saleor/saleor:3.21"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "storefront",
      "source": {
        "repo": "https://github.com/saleor/storefront"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_URL",
      "service": "saleor-api",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PUBLIC_URL",
      "service": "saleor-api",
      "description": "Specifies the base URL at which Saleor is hosted",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SECRET_KEY",
      "service": "saleor-api",
      "description": "Controls Django's secret key setting.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "saleor-api",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ALLOWED_HOSTS",
      "service": "saleor-api",
      "description": "This variable controls Django's allowed hosts setting. It defaults to localhost.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "saleor-api",
      "description": "Your AWS/R2 access key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CELERY_BROKER_URL",
      "service": "saleor-api",
      "description": "Default task broker URL. You can read more about configuring this at Celery Documentation.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_S3_ENDPOINT_URL",
      "service": "saleor-api",
      "description": "Provide a value for AWS_S3_ENDPOINT_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ALLOWED_CLIENT_HOSTS",
      "service": "saleor-api",
      "description": "A list of strings representing host/domain names of client applications (storefront or dashboard) that use this Saleor instance as a backend.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_QUERYSTRING_AUTH",
      "service": "saleor-api",
      "description": "Provide a value for AWS_QUERYSTRING_AUTH.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_MEDIA_BUCKET_NAME",
      "service": "saleor-api",
      "description": "The S3/R2 bucket name to use for the media files.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "saleor-api",
      "description": "Your AWS/R2 secret access key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_MEDIA_CUSTOM_DOMAIN",
      "service": "saleor-api",
      "description": "The custom domain to use for the media bucket.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port to connect to Redis.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Default user to connect to Redis.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "URL to connect to Redis over the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Password to connect to Redis.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Password to connect to Redis.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Redis",
      "description": "Start Redis process as root to allow for writing to the volume",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Public URL to connect to Redis, needed for the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_RDB_POLICY",
      "service": "Redis",
      "description": "Set a RDB snapshot policy.",
      "secret": false,
      "strategy": "default",
      "default": "3600#1 300#100 60#10000"
    },
    {
      "key": "REDIS_AOF_ENABLED",
      "service": "Redis",
      "description": "Disable writing to AOF file.",
      "secret": false,
      "strategy": "default",
      "default": "no"
    },
    {
      "key": "RAILWAY_RUN_AS_ROOT",
      "service": "Redis",
      "description": "Start Redis process as root to allow for writing to the volume",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "API_URL",
      "service": "saleor-dashboard",
      "description": "URI of Saleor GraphQL API instance. If you are running Saleor locally with the default settings, set API_URL to: \"http://localhost:8000/graphql/\". Make sure you have \"/\" at the end of API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "APP_MOUNT_URI",
      "service": "saleor-dashboard",
      "description": "URI at which the Dashboard app will be mounted. E.g., if you set APP_MOUNT_URI to \"/dashboard/\", your app will be mounted at \"http://localhost:9000/dashboard/\".",
      "secret": false,
      "strategy": "default",
      "default": "/"
    },
    {
      "key": "EXTENSIONS_API_URL",
      "service": "saleor-dashboard",
      "description": "URI of Marketplace API to fetch list of Extensions in JSON.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "APPS_MARKETPLACE_API_URL",
      "service": "saleor-dashboard",
      "description": "URI of Marketplace API to fetch list of Apps in JSON.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "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": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public URL to connect to Postgres database, used by the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "REDIS_URL",
      "service": "saleor-worker",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PUBLIC_URL",
      "service": "saleor-worker",
      "description": "Specifies the base URL at which Saleor is hosted",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SECRET_KEY",
      "service": "saleor-worker",
      "description": "Controls Django's secret key setting.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "saleor-worker",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ALLOWED_HOSTS",
      "service": "saleor-worker",
      "description": "This variable controls Django's allowed hosts setting. It defaults to localhost.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "saleor-worker",
      "description": "Your AWS/R2 access key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CELERY_BROKER_URL",
      "service": "saleor-worker",
      "description": "Default task broker URL. You can read more about configuring this at Celery Documentation.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ALLOWED_CLIENT_HOSTS",
      "service": "saleor-worker",
      "description": "A list of strings representing host/domain names of client applications (storefront or dashboard) that use this Saleor instance as a backend.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_MEDIA_BUCKET_NAME",
      "service": "saleor-worker",
      "description": "The S3/R2 bucket name to use for the media files.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "saleor-worker",
      "description": "Your AWS/R2 secret access key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_MEDIA_CUSTOM_DOMAIN",
      "service": "saleor-worker",
      "description": "The custom domain to use for the media bucket.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "REDIS_URL",
      "service": "saleor-scheduler",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PUBLIC_URL",
      "service": "saleor-scheduler",
      "description": "Specifies the base URL at which Saleor is hosted",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SECRET_KEY",
      "service": "saleor-scheduler",
      "description": "Controls Django's secret key setting.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "saleor-scheduler",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ALLOWED_HOSTS",
      "service": "saleor-scheduler",
      "description": "This variable controls Django's allowed hosts setting. It defaults to localhost.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "saleor-scheduler",
      "description": "Your AWS/R2 access key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CELERY_BROKER_URL",
      "service": "saleor-scheduler",
      "description": "Default task broker URL. You can read more about configuring this at Celery Documentation.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_S3_ENDPOINT_URL",
      "service": "saleor-scheduler",
      "description": "Provide a value for AWS_S3_ENDPOINT_URL.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "ALLOWED_CLIENT_HOSTS",
      "service": "saleor-scheduler",
      "description": "A list of strings representing host/domain names of client applications (storefront or dashboard) that use this Saleor instance as a backend.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_QUERYSTRING_AUTH",
      "service": "saleor-scheduler",
      "description": "Provide a value for AWS_QUERYSTRING_AUTH.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_MEDIA_BUCKET_NAME",
      "service": "saleor-scheduler",
      "description": "The S3/R2 bucket name to use for the media files.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "saleor-scheduler",
      "description": "Your AWS/R2 secret access key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AWS_MEDIA_CUSTOM_DOMAIN",
      "service": "saleor-scheduler",
      "description": "The custom domain to use for the media bucket.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "SALEOR_APP_TOKEN",
      "service": "storefront",
      "description": "Token used for fetching channels",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NEXT_PUBLIC_SALEOR_API_URL",
      "service": "storefront",
      "description": "Replace URL with your Saleor backend. Make sure to keep the slash at the end.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "NEXT_PUBLIC_STOREFRONT_URL",
      "service": "storefront",
      "description": "Make sure to add it on production for correct canonical URLs",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "saleor-backend-with-storefront"
      }
    },
    "cli": "railway deploy --template saleor-backend-with-storefront",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7801c64f-031e-40b6-a770-793a4afbb22f",
            "serializedConfig": {
              "services": {
                "382b05c3-0eaa-4ef2-aed9-e08c7796ecbd": {
                  "icon": "https://img.icons8.com/fluency/100/api.png",
                  "name": "saleor-api",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/saleor/saleor:3.21"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Specifies the base URL at which Saleor is hosted",
                      "defaultValue": "{{PUBLIC_URL}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Controls Django's secret key setting.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ALLOWED_HOSTS": {
                      "isOptional": false,
                      "description": "This variable controls Django's allowed hosts setting. It defaults to localhost.",
                      "defaultValue": "{{ALLOWED_HOSTS}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Your AWS/R2 access key.",
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "CELERY_BROKER_URL": {
                      "isOptional": false,
                      "description": "Default task broker URL. You can read more about configuring this at Celery Documentation.",
                      "defaultValue": "{{CELERY_BROKER_URL}}"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "isOptional": false,
                      "defaultValue": "{{AWS_S3_ENDPOINT_URL}}"
                    },
                    "ALLOWED_CLIENT_HOSTS": {
                      "isOptional": false,
                      "description": "A list of strings representing host/domain names of client applications (storefront or dashboard) that use this Saleor instance as a backend.",
                      "defaultValue": "{{ALLOWED_CLIENT_HOSTS}}"
                    },
                    "AWS_QUERYSTRING_AUTH": {
                      "isOptional": false,
                      "defaultValue": "{{AWS_QUERYSTRING_AUTH}}"
                    },
                    "AWS_MEDIA_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "The S3/R2 bucket name to use for the media files.",
                      "defaultValue": "{{AWS_MEDIA_BUCKET_NAME}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Your AWS/R2 secret access key.",
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    },
                    "AWS_MEDIA_CUSTOM_DOMAIN": {
                      "isOptional": false,
                      "description": "The custom domain to use for the media bucket.",
                      "defaultValue": "{{AWS_MEDIA_CUSTOM_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "3a6d595d-e5aa-4e79-bd9c-de4935545a9d": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "build": {},
                  "deploy": {
                    "requiredMountPath": "/bitnami"
                  },
                  "source": {
                    "image": "bitnami/redis:7.2.5"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{ RAILWAY_PRIVATE_DOMAIN }}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Redis.",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Default user to connect to Redis.",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Redis over the private network.",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_PRIVATE_DOMAIN }}:6379"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to Redis.",
                      "defaultValue": "${{ REDIS_PASSWORD }}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to Redis.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Start Redis process as root to allow for writing to the volume",
                      "defaultValue": "0"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Public URL to connect to Redis, needed for the Data panel.",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    },
                    "REDIS_RDB_POLICY": {
                      "description": "Set a RDB snapshot policy.",
                      "defaultValue": "3600#1 300#100 60#10000"
                    },
                    "REDIS_AOF_ENABLED": {
                      "description": "Disable writing to AOF file.",
                      "defaultValue": "no"
                    },
                    "RAILWAY_RUN_AS_ROOT": {
                      "isOptional": false,
                      "description": "Start Redis process as root to allow for writing to the volume",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "3a6d595d-e5aa-4e79-bd9c-de4935545a9d": {
                      "mountPath": "/bitnami"
                    }
                  }
                },
                "4402e3a5-400d-4774-a45f-33cda4dfc66f": {
                  "icon": "https://img.icons8.com/fluency/100/dashboard-layout.png",
                  "name": "saleor-dashboard",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/saleor/saleor-dashboard:latest"
                  },
                  "variables": {
                    "API_URL": {
                      "isOptional": false,
                      "description": "URI of Saleor GraphQL API instance. If you are running Saleor locally with the default settings, set API_URL to: \"http://localhost:8000/graphql/\". Make sure you have \"/\" at the end of API_URL.",
                      "defaultValue": "${{saleor-api.PUBLIC_URL}}"
                    },
                    "APP_MOUNT_URI": {
                      "isOptional": false,
                      "description": "URI at which the Dashboard app will be mounted. E.g., if you set APP_MOUNT_URI to \"/dashboard/\", your app will be mounted at \"http://localhost:9000/dashboard/\".",
                      "defaultValue": "/"
                    },
                    "EXTENSIONS_API_URL": {
                      "isOptional": false,
                      "description": "URI of Marketplace API to fetch list of Extensions in JSON.",
                      "defaultValue": "{{EXTENSIONS_API_URL}}"
                    },
                    "APPS_MARKETPLACE_API_URL": {
                      "isOptional": false,
                      "description": "URI of Marketplace API to fetch list of Apps in JSON.",
                      "defaultValue": "{{APPS_MARKETPLACE_API_URL}}"
                    },
                    "DISABLE_SERVER_SIDE_CURSORS": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "65ea625c-bc14-43d2-89c5-5ae1fe07c34f": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "build": {},
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data"
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:16"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "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_PRIVATE_DOMAIN}}:5432/${{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_PUBLIC_URL": {
                      "description": "Public URL to connect to Postgres database, used by the Data panel.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "5432": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "65ea625c-bc14-43d2-89c5-5ae1fe07c34f": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  },
                  "haTemplateCode": "postgres-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxy",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "Routes traffic to the primary",
                      "defaultValue": 3
                    },
                    "replica": {
                      "label": "Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5,
                        6,
                        7
                      ],
                      "nodeLabel": "Postgres",
                      "description": "Streaming replicas for automatic failover",
                      "defaultValue": 2
                    },
                    "internal": {
                      "label": "Coordinator Nodes",
                      "options": [
                        3,
                        5,
                        7,
                        9
                      ],
                      "nodeLabel": "etcd",
                      "defaultValue": 3
                    },
                    "description": "This will convert your Postgres database to an HA cluster with Patroni failover and etcd consensus."
                  }
                },
                "90bf4849-ad72-4528-bfff-3f1254a66139": {
                  "icon": "https://img.icons8.com/3d-fluency/100/worker-male--v3.png",
                  "name": "saleor-worker",
                  "deploy": {
                    "startCommand": "celery --app saleor.celeryconf:app worker -E --loglevel=info --concurrency=2 --max-tasks-per-child=100",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/saleor/saleor:3.21"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Specifies the base URL at which Saleor is hosted",
                      "defaultValue": "{{PUBLIC_URL}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Controls Django's secret key setting.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ALLOWED_HOSTS": {
                      "isOptional": false,
                      "description": "This variable controls Django's allowed hosts setting. It defaults to localhost.",
                      "defaultValue": "{{ALLOWED_HOSTS}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Your AWS/R2 access key.",
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "CELERY_BROKER_URL": {
                      "isOptional": false,
                      "description": "Default task broker URL. You can read more about configuring this at Celery Documentation.",
                      "defaultValue": "{{CELERY_BROKER_URL}}"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "ALLOWED_CLIENT_HOSTS": {
                      "isOptional": false,
                      "description": "A list of strings representing host/domain names of client applications (storefront or dashboard) that use this Saleor instance as a backend.",
                      "defaultValue": "{{ALLOWED_CLIENT_HOSTS}}"
                    },
                    "AWS_QUERYSTRING_AUTH": {
                      "isOptional": true,
                      "description": "",
                      "defaultValue": ""
                    },
                    "AWS_MEDIA_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "The S3/R2 bucket name to use for the media files.",
                      "defaultValue": "{{AWS_MEDIA_BUCKET_NAME}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Your AWS/R2 secret access key.",
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    },
                    "AWS_MEDIA_CUSTOM_DOMAIN": {
                      "isOptional": false,
                      "description": "The custom domain to use for the media bucket.",
                      "defaultValue": "{{AWS_MEDIA_CUSTOM_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "954560e1-2786-4051-8cbf-10b9f04c24b9": {
                  "icon": "https://img.icons8.com/color/100/task--v1.png",
                  "name": "saleor-scheduler",
                  "deploy": {
                    "startCommand": "celery --app saleor.celeryconf:app beat --scheduler saleor.schedulers.schedulers.DatabaseScheduler",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/saleor/saleor:3.21"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Specifies the base URL at which Saleor is hosted",
                      "defaultValue": "{{PUBLIC_URL}}"
                    },
                    "SECRET_KEY": {
                      "isOptional": false,
                      "description": "Controls Django's secret key setting.",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ALLOWED_HOSTS": {
                      "isOptional": false,
                      "description": "This variable controls Django's allowed hosts setting. It defaults to localhost.",
                      "defaultValue": "{{ALLOWED_HOSTS}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Your AWS/R2 access key.",
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "CELERY_BROKER_URL": {
                      "isOptional": false,
                      "description": "Default task broker URL. You can read more about configuring this at Celery Documentation.",
                      "defaultValue": "{{CELERY_BROKER_URL}}"
                    },
                    "AWS_S3_ENDPOINT_URL": {
                      "isOptional": false,
                      "defaultValue": "{{AWS_S3_ENDPOINT_URL}}"
                    },
                    "ALLOWED_CLIENT_HOSTS": {
                      "isOptional": false,
                      "description": "A list of strings representing host/domain names of client applications (storefront or dashboard) that use this Saleor instance as a backend.",
                      "defaultValue": "{{ALLOWED_CLIENT_HOSTS}}"
                    },
                    "AWS_QUERYSTRING_AUTH": {
                      "isOptional": false,
                      "defaultValue": "{{AWS_QUERYSTRING_AUTH}}"
                    },
                    "AWS_MEDIA_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "The S3/R2 bucket name to use for the media files.",
                      "defaultValue": "{{AWS_MEDIA_BUCKET_NAME}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Your AWS/R2 secret access key.",
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    },
                    "AWS_MEDIA_CUSTOM_DOMAIN": {
                      "isOptional": false,
                      "description": "The custom domain to use for the media bucket.",
                      "defaultValue": "{{AWS_MEDIA_CUSTOM_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "b7e1b9d6-e6e8-467f-929f-de3076979cc0": {
                  "icon": "https://avatars.githubusercontent.com/u/13796165?s=48&v=4",
                  "name": "storefront",
                  "source": {
                    "repo": "saleor/storefront",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "SALEOR_APP_TOKEN": {
                      "isOptional": false,
                      "description": "Token used for fetching channels",
                      "defaultValue": "{{SALEOR_APP_TOKEN}}"
                    },
                    "NEXT_PUBLIC_SALEOR_API_URL": {
                      "isOptional": false,
                      "description": "Replace URL with your Saleor backend. Make sure to keep the slash at the end.",
                      "defaultValue": "{{NEXT_PUBLIC_SALEOR_API_URL}}"
                    },
                    "NEXT_PUBLIC_STOREFRONT_URL": {
                      "isOptional": false,
                      "description": "Make sure to add it on production for correct canonical URLs",
                      "defaultValue": "{{NEXT_PUBLIC_STOREFRONT_URL}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 7,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
