AlphaTeamEnterprise
Redis
Spin up an isolated Redis branch with mirrord - in the cluster or on your own machine
Last updated
Was this helpful?
Was this helpful?
{
"copy": {
"mode": "all",
"patterns": ["user:*", "session:*"]
}
}{
"feature": {
"db_branches": [
{
"type": "redis",
"location": "local", // "remote" (default) or "local"
"connection": {
// Use "host" if your app reads Redis as host:port (e.g. REDIS_ADDR=redis:6379)
// Use "url" if your app reads a full Redis URL (e.g. REDIS_URL=redis://user:pass@redis:6379/0)
"host": { "type": "env", "variable": "REDIS_ADDR" }
},
"local": { // Optional runtime config
"port": 6379, // Custom port (default: 6379)
"runtime": "container", // "container" (default), "redis_server", or "auto"
"container_runtime": "docker" // "docker" (default), "podman", or "nerdctl"
}
}
]
}
}