Skip to content

Template · Business apps

Saleor

Headless GraphQL e-commerce platform (API + Celery worker) with Postgres and Redis.

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:17
  • Redisredis:7-alpine
  • Saleorghcr.io/saleor/saleor:3.21
  • Saleor Workerghcr.io/saleor/saleor:3.21
Upstream documentation

What gets deployed

4 services in the environment you pick, on the private network of the project.

About this template

ghcr.io/saleor/saleor:3.21 API with migrations on start and a Celery worker, PostgreSQL 17, Redis. Dashboard is a separate app (saleor-dashboard) — point it at /graphql/.

After deploy

Create the first superuser: python3 manage.py createsuperuser inside the Saleor container.

Postgres

Image: postgres:17

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

Redis

Image: redis:7-alpine

  • Port 6379/tcp
  • 2 GB volume at /data
  • 0.5 vCPU · 512 MB

redis-server --appendonly yes --dir /data

Saleor

Image: ghcr.io/saleor/saleor:3.21

  • Port 8000/http
  • Public domain with TLS
  • 5 GB volume at /app/media
  • 1 vCPU · 1 GB
  • /health/

python3 manage.py migrate --noinput && uvicorn saleor.asgi:application --host 0.0.0.0 --port 8000 --workers 2 --lifespan off --ws none --no-server-header --no-access-log --timeout-keep-alive 35

Saleor Worker

Image: ghcr.io/saleor/saleor:3.21

  • 1 vCPU · 1 GB

celery -A saleor --app=saleor.celeryconf:app worker --loglevel=info -B

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERpostgresSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBsaleorDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

Redis

NameValue
REDIS_URLredis://${{self.SKIFFLY_PRIVATE_DOMAIN}}:6379Private network only, no auth

Saleor

NameValue
DATABASE_URL${{Postgres.DATABASE_URL}}
CELERY_BROKER_URL${{Redis.REDIS_URL}}/1
REDIS_URL${{Redis.REDIS_URL}}/0
SECRET_KEYgenerated (secret)
RSA_PRIVATE_KEYOptional PEM for JWT signing
ALLOWED_HOSTS*
ALLOWED_CLIENT_HOSTS*
PUBLIC_URLhttps://${{self.SKIFFLY_PUBLIC_DOMAIN}}
DEFAULT_FROM_EMAILnoreply@example.com
DEBUGFalse
DEFAULT_CHANNEL_SLUGdefault-channel
HTTP_IP_FILTER_ENABLEDFalse

Saleor Worker

NameValue
DATABASE_URL${{Postgres.DATABASE_URL}}
CELERY_BROKER_URL${{Redis.REDIS_URL}}/1
REDIS_URL${{Redis.REDIS_URL}}/0
SECRET_KEY${{Saleor.SECRET_KEY}}
RSA_PRIVATE_KEYOptional PEM for JWT signing
ALLOWED_HOSTS*
ALLOWED_CLIENT_HOSTS*
PUBLIC_URL${{Saleor.PUBLIC_URL}}
DEFAULT_FROM_EMAILnoreply@example.com
DEBUGFalse
DEFAULT_CHANNEL_SLUGdefault-channel
HTTP_IP_FILTER_ENABLEDFalse

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/saleor)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/saleor)
HTML
<a href="https://skiffly.dev/templates/saleor"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Saleor in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.