StackPanel

Redis Service

Documentation for the redis module

Project-local Redis server for caching and queues.

Overview

Provides a mkService factory that creates a Redis instance with data stored under .stackpanel/state/services/redis/. Supports both TCP and Unix socket connections.

Environment Variables

VariableExample
REDIS_URLredis://localhost:6379
REDIS_HOSTlocalhost
REDIS_PORT6379
REDIS_SOCKET.stackpanel/state/services/redis/redis.sock

Usage

stackpanel.globalServices.redis.enable = true;

On this page