1. MooseStack
  2. Configuration
  3. Redis Configuration

Redis Configuration

Configure the caching and state management layer.

Configuration Precedence

If url is provided, it takes precedence over hostname, port, password, etc.

Security Warning

NEVER put production credentials in moose.config.toml. For production environments or when connecting to external infrastructure, ALWAYS use environment variables and/or secrets to securely inject credentials.

[redis_config]# Redis connection URL (Default: "redis://127.0.0.1:6379")url = "redis://127.0.0.1:6379"# Namespace prefix for all Redis keys (Default: "MS")key_prefix = "MS"
KeyEnv VariableDefaultDescription
urlMOOSE_REDIS_CONFIG__URL"redis://127.0.0.1:6379"Full connection URL.
key_prefixMOOSE_REDIS_CONFIG__KEY_PREFIX"MS"Prefix for keys used by Moose.
  • Overview
  • Quick Start
  • Templates / Examples
Fundamentals
  • Moose Runtime
  • MooseDev MCP
  • Data Modeling
MooseStack in your App
  • App / API frameworks
Modules
  • Moose OLAP
  • Moose Streaming
  • Moose Workflows
  • Moose APIs
Deployment & Lifecycle
  • Moose Migrate
  • Moose Deploy
Reference
  • API Reference
  • Data Types
  • Table Engines
  • CLI
  • Configuration
    • Core Settings
    • Project Settings
    • TypeScript
    • Telemetry
    • Git
    • Features
    • Migrations
    • Infrastructure
    • ClickHouse
    • Redpanda
    • Redis
    • Temporal
    • HTTP Server
    • State Storage
    • Security
    • JWT
    • Admin API
    • Development
    • Dev Environment
  • Observability Metrics
  • Help
  • Changelog
Contribution
  • Documentation
  • Framework
FiveonefourFiveonefour
Fiveonefour Docs
MooseStackTemplates
Changelog
Source506