About

Redis server and connection settings: password, and a logical database each for sessions, tasks and caches

Provides

This feature declares no public contract surface.

Configuration

Setting Default What it does
REDIS_SESSION_DB 0 Logical database of the sessions (splent_feature_session_redis reads REDIS_SESSION_URL).
REDIS_TASKS_DB 1 Logical database of background tasks and their queue (REDIS_TASKS_URL).
REDIS_CACHE_DB 2 Logical database of caches, which may be flushed at any time (REDIS_CACHE_URL).

These are the defaults. A product changes them in its own pyproject.toml, under [tool.splent.config], or in .env.deploy in production.

Services and ports

Containers
splent_feature_redis
Ports
6379 on the host port set in REDIS_HOST_PORT
Volumes
redis_data
Image
A published image, pulled as it is
Health check
 Declared
Compose files
docker-compose.dev.ymldocker-compose.prod.yml

They start with the product. Host ports come from variables, so two products on one machine never collide.

Dependencies

Used by

In product lines

Extension points

Routes
A refinement can add routes to its blueprint

Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.

Compatibility

Python
>=3.13
SPLENT framework
>=1.30.0