BaaS & Databases1 GB RAM (Pro recommended)· Port 6379

Deploy Redis Stack (JSON, Search & TimeSeries) with Docker Compose

Production Redis server bundled with RedisJSON, RediSearch, RedisTimeSeries, and RedisInsight UI.

1. Production docker-compose.yml Configuration

Copy this stack definition or deploy directly from your Vexlo Cloud console with automatic Let's Encrypt TLS and persistent volume mounts.

docker-compose.yml
yaml
services:
  redis-stack:
    image: redis/redis-stack:latest
    restart: unless-stopped
    ports:
      - "6379:6379"
    environment:
      - REDIS_ARGS=${REDIS_ARGS:---requirepass change-me-strong-redis-pass --maxmemory 512mb --maxmemory-policy allkeys-lru}
    volumes:
      - app_data:/data


volumes:
  app_data:

2. Required Environment Variables

VariableDefault / ExampleDescription
REDIS_ARGS--requirepass change-me-strong-redis-pass --maxmemory 512mb --maxmemory-policy allkeys-lruCustom Redis server flags for password auth and OOM protection.

Redis Stack (JSON, Search & TimeSeries) Self-Hosting FAQs

How much RAM is required to self-host Redis Stack (JSON, Search & TimeSeries) in production?

Redis Stack (JSON, Search & TimeSeries) requires a minimum of 1 GB RAM (Pro recommended). On Vexlo Cloud Pro (₹149/mo via UPI in India or $5/mo globally), you get 2 vCPU, 3 GB RAM, and 2 managed databases—more than enough headroom for production workloads.

How do I expose Redis Stack (JSON, Search & TimeSeries) with automatic HTTPS/SSL on Vexlo Cloud?

Deploy the redis/redis-stack:latest container on Vexlo Cloud, set the exposed port to 6379, and attach your custom domain in the Domains tab. Vexlo automatically provisions and renews Let's Encrypt TLS certificates.

How is persistent data backed up for Redis Stack (JSON, Search & TimeSeries)?

Mount /data to a persistent Docker volume and connect Vexlo Cloud's automated S3 / Cloudflare R2 backup scheduler to snapshot your database daily or weekly.

More 1-Click Docker Templates

View all 25 templates →