[{"data":1,"prerenderedAt":151},["ShallowReactive",2],{"seo-verification":3,"blog-self-host-saleor-on-vps-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-self-host-saleor-on-vps-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":28,"featuredImage":30,"bgImage":31,"posterImage":32,"relatedSolution":33,"intro":36,"sections":37,"ctaTitle":83,"ctaBody":84,"ctaButton":85,"ctaUrl":86,"relatedPosts":87},362,"self-host-saleor-on-vps",{"fr":12,"en":10,"ar":13,"es":14},"self-host-saleor-vps","كيفية-استضافة-saleor-على-خادم-vps","como-alojar-saleor-en-un-vps","Self-host Saleor Commerce: Headless E-commerce on VPS","Host Saleor Commerce on your own VPS: open-source headless e-commerce API with Python\u002FDjango, React admin dashboard and Celery worker. Full Docker Compose guide.",5,0,false,"2026-09-19T00:00:00+00:00","2026-09-19T17:11:15+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},7,"Self-hosting","self-hosting","bg-indigo-500\u002F10 text-indigo-400","cloud",[29],{"id":23,"name":24,"slug":25,"color":26,"icon":27},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fself-host-saleor-vps-poster.svg",{"categorySlug":34,"appSlug":35},"e-commerce","saleor","Shopify charges a percentage of every transaction. WooCommerce forces you into a WordPress template system. Saleor Commerce takes a different approach: it exposes everything through a single GraphQL API and lets you build whatever frontend you want — a Next.js storefront, a React Native app, a kiosk display — without touching the backend.\n\nSaleor is open source under BSD-3-Clause (23 000+ GitHub stars), built with Python and Django, and deployable on a single VPS with Docker Compose. On ServOrbit, seven containers start automatically: PostgreSQL 15, Valkey 8, the Django API, a Celery worker, the React admin dashboard, and Nginx routing traffic through a single exposed port.",[38,42,52,55,77,80],{"title":39,"type":40,"body":41},"Why headless e-commerce? Decoupling the storefront from the backend","h2","Traditional e-commerce platforms bundle the storefront and the backend together. Your theme, your cart, your checkout logic — they all run in the same PHP process, shaped by the platform's template system. This works well until you need something the platform doesn't support: a custom mobile app, a B2B pricing tier, a storefront that pre-renders 50 000 product pages at build time.\n\nHeadless e-commerce separates these concerns. The backend manages your catalog, orders, customers and payments via an API. The frontend is yours: build it in Next.js, React Native, Astro, or anything that speaks HTTP and GraphQL. Change your storefront without touching your order history. Scale your API layer independently from your CDN-fronted static site.\n\nSaleor takes this to its logical conclusion. There is no built-in storefront. The entire product surface is the GraphQL API. The React admin dashboard is for administration, not for selling.",{"title":43,"type":44,"items":45},"What Saleor gives you on a ServOrbit VPS","ul",[46,47,48,49,50,51],"**Full GraphQL API** — products, variants, attributes, collections, orders, customers, payments, shipping: everything is queryable and mutable via a single GraphQL endpoint.","**Native multi-channel** — a Moroccan store in MAD, a French store in EUR, a B2B wholesale catalog: independent channels, shared product catalog, single admin dashboard.","**React admin dashboard included** — manage your catalog, inventory, promotions, orders and customer accounts without writing code.","**Celery worker for background tasks** — outbound webhooks, email notifications, async order processing: nothing blocks the HTTP request path.","**PostgreSQL 15 + Valkey 8** — battle-tested relational database and a fast cache\u002Fbroker, both in ephemeral containers with persistent Docker volumes.","**BSD-3-Clause licence** — no per-transaction fee, no features behind a paid tier, fully auditable source code.",{"title":53,"type":40,"body":54},"Stack architecture: seven containers, one exposed port","The Saleor stack on ServOrbit runs as seven Docker Compose services:\n\n1. **db** — PostgreSQL 15, persistent data in a named volume.\n2. **cache** — Valkey 8, Django cache on database 0 and Celery broker on database 1.\n3. **init** — runs once: applies database migrations, generates the RSA key pair for JWT signing, creates the admin account.\n4. **api** — Uvicorn + Django, serves the GraphQL API on port 8000 (loopback only).\n5. **worker** — Celery, processes the async task queue (webhooks, email, order events).\n6. **dashboard** — pre-compiled React app, the admin UI.\n7. **proxy** — Nginx, the single entry point. Routes `\u002Fgraphql\u002F`, `\u002Fstatic\u002F`, `\u002Fmedia\u002F`, `\u002Fthumbnail\u002F`, `\u002Fplugins\u002F` to the API container; everything else to the dashboard.\n\nOnly the Nginx proxy exposes a port on `127.0.0.1`, behind the reverse proxy managed by ServOrbit. The API never receives direct external traffic.",{"title":56,"type":57,"steps":58},"Deploying from the ServOrbit Marketplace","steps",[59,62,65,68,71,74],{"title":60,"body":61},"Order a VPS with 4 GB RAM","the full stack (API, Celery, PostgreSQL, Valkey, dashboard) runs comfortably in 4 GB. 2 GB is the hard minimum, but PostgreSQL will be tight under concurrent requests.",{"title":63,"body":64},"Attach your domain before deploying","Saleor binds the dashboard API URL and Django's `ALLOWED_CLIENT_HOSTS` to your domain at first boot. This value cannot be changed without recreating volumes. Do it before, not after.",{"title":66,"body":67},"Launch the deployment","in your ServOrbit dashboard: Marketplace → E-commerce → Saleor → Deploy. The `init` container applies migrations, generates the RSA key and creates `admin@example.com` with the password shown in your client area.",{"title":69,"body":70},"Wait 90–120 seconds","first boot pulls the images (~1 GB total) and runs schema migrations. The API is ready when the Nginx healthcheck passes.",{"title":72,"body":73},"Create a sales channel","in the admin dashboard (`https:\u002F\u002Fyour-domain\u002F`), go to Catalogue → Channels → Create channel. Set a name, a currency (MAD, EUR…) and a country. You cannot create products without at least one channel.",{"title":75,"body":76},"Connect your storefront","point your Next.js (or any GraphQL client) frontend at `https:\u002F\u002Fyour-domain\u002Fgraphql\u002F`. The interactive GraphQL schema browser is available at that endpoint in debug mode.",{"title":78,"type":40,"body":79},"Connecting a payment gateway","Saleor handles payments through **Saleor Apps** — small services that implement Saleor's webhook payment protocol and connect to your PSP. The official ecosystem covers Stripe, Adyen and PayPal. For the Moroccan market, a CMI integration is possible via the Saleor App SDK, which exposes the necessary hooks (`payment-gateway-initialize-session`, `transaction-process-session`).\n\nIn the admin dashboard, go to Apps → Explore apps to install from the Saleor marketplace, or Apps → Install custom app to point at your own service. The app URL must be reachable from the Saleor server (HTTPS required in production).\n\nOnce installed, the app appears in Catalogue → Channels → your channel → Payment gateways.",{"title":81,"type":40,"body":82},"Saleor vs PrestaShop vs WooCommerce: which to choose?","**PrestaShop** and **WooCommerce** are monolithic platforms: the theme, the cart and the API all live in the same PHP process. They are fast to get started with but difficult to customise deeply — you are working within the platform's template system.\n\n**Saleor** is the opposite philosophy: no built-in theme, everything via GraphQL. You trade the \"running store in ten minutes\" experience for complete frontend freedom. It is the right choice when you have developers capable of building a Next.js or React Native storefront, or when your use case goes beyond what a standard theme supports.\n\nOn resource consumption: Saleor (Python\u002FDjango) uses more RAM than a lightweight WooCommerce install, but far less than Magento or Sylius in production. On a 4 GB VPS, the stack runs comfortably with room for PostgreSQL to breathe.\n\nIf you are looking for a no-code storefront you can style in an afternoon, PrestaShop or WooCommerce are better fits. If you are building a product — an app, a multi-channel platform, a custom checkout experience — Saleor gives you the API surface to do it cleanly.","Ready to launch your headless store?","ServOrbit deploys Saleor Commerce on Ubuntu 24.04 in one click — PostgreSQL, Valkey, Django API, Celery worker, React dashboard and Nginx proxy all pre-configured.","Deploy Saleor Commerce","\u002Fmarketplace\u002Fe-commerce\u002Fsaleor",[88,106,129],{"id":89,"slug":90,"slugs":91,"title":95,"excerpt":96,"readTime":97,"views":18,"isPinned":19,"publishedAt":98,"updatedAt":99,"category":100,"categories":101,"featuredImage":30,"bgImage":31,"posterImage":103,"relatedSolution":104},145,"prestashop-on-a-vps-open-e-commerce-with-no-closed-platform",{"fr":92,"en":90,"ar":93,"es":94},"installer-prestashop-vps","prestashop-على-vps-تجارة-إلكترونية-حرة-دون-منصة-مغلقة","instalar-prestashop-en-un-vps","How to Install PrestaShop on a VPS: Full Guide 2025","Deploy PrestaShop 8.x on a Ubuntu 24.04 VPS with Apache, PHP 8.2, MySQL 8 and SSL. Exact commands, requirements, troubleshooting and optimizations included.",8,"2026-01-31T00:00:00+00:00","2026-09-07T11:26:10+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[102],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Finstaller-prestashop-vps-poster.svg",{"categorySlug":34,"appSlug":105},"prestashop",{"id":107,"slug":108,"slugs":109,"title":113,"excerpt":114,"readTime":115,"views":116,"isPinned":19,"publishedAt":117,"updatedAt":118,"category":119,"categories":123,"featuredImage":30,"bgImage":31,"posterImage":125,"relatedSolution":126},3,"install-n8n-on-vps-with-docker-complete-2026-guide",{"fr":110,"en":108,"ar":111,"es":112},"installer-n8n-vps","تثبيت-n8n-على-vps-مع-docker-دليل-شامل-2026","instalar-n8n-en-vps-con-docker","Install n8n on VPS with Docker: complete 2026 guide","Deploy n8n on VPS with Docker, reverse proxy and HTTPS. Covers V8 crash, 502 nginx, npm migration and execution security (GHSA-vrv8-j27g-g7cr advisory, August 2026).",12,2,"2026-06-05T00:00:00+00:00","2026-09-08T22:00:02+00:00",{"id":116,"name":120,"slug":121,"color":122,"icon":121},"Automation","automatisation","bg-brand-action\u002F10 text-brand-action",[124],{"id":116,"name":120,"slug":121,"color":122,"icon":121},"\u002Fblog\u002Fcovers\u002Finstaller-n8n-vps-poster.svg",{"categorySlug":127,"appSlug":128},"automation-workflows","n8n",{"id":130,"slug":131,"slugs":132,"title":136,"excerpt":137,"readTime":138,"views":139,"isPinned":19,"publishedAt":140,"updatedAt":99,"category":141,"categories":145,"featuredImage":30,"bgImage":31,"posterImage":147,"relatedSolution":148},41,"deploy-your-applications-with-coolify-on-a-vps",{"fr":133,"en":131,"ar":134,"es":135},"deployer-avec-coolify","نشر-تطبيقاتك-باستخدام-coolify-على-vps","desplegar-aplicaciones-con-coolify-en-un-vps","Deploy Your Applications with Coolify on a VPS","Deploy Coolify on a VPS: installation, HTTPS configuration, Git connection, deploying your first application, databases, backups, and troubleshooting.",9,1,"2026-05-10T00:00:00+00:00",{"id":107,"name":142,"slug":143,"color":144,"icon":143},"Deployment","deploiement","bg-success\u002F10 text-success",[146],{"id":107,"name":142,"slug":143,"color":144,"icon":143},"\u002Fblog\u002Fcovers\u002Fdeployer-avec-coolify-poster.svg",{"categorySlug":149,"appSlug":150},"application-deployment-devops","coolify",1789838222124]