Deploy Valkey Bundle
Deploy and Host Valkey Bundle with Railway
Valkey Bundle
Just deployed
/data
Deploy and Host Valkey Bundle with Railway
One-click deploy of Valkey Bundle on Railway with all modules pre-loaded.
Valkey Bundle is a containerized version of Valkey with popular modules including Valkey JSON, Valkey Bloom, Valkey Search, and Valkey LDAP. This template deploys a fully configured Valkey Bundle instance with authentication, persistent storage, and private networking — all with a single click.
About Hosting Valkey Bundle
Hosting Valkey Bundle involves deploying a high-performance in-memory data structure server that acts as a database, cache, and message broker with all official modules pre-loaded. It runs on port 6379 by default and maintains full Redis API compatibility, so any existing Redis client library works out of the box. This template configures auto-generated authentication, persistent storage via a volume mount at /data, and both private networking for service-to-service communication and a TCP proxy for external access. Connection variables are pre-configured and ready to use on deploy.
Common Use Cases
- Application caching with advanced data structures including native JSON documents and probabilistic filters
- Full-text search and secondary indexing via the Valkey Search module
- Session management with fast in-memory access across distributed systems
- Real-time analytics using counters, streams, sorted sets, and Bloom filters
- LDAP-based authentication for enterprise environments
Dependencies for Valkey Bundle Hosting
- Client libraries: Any Redis-compatible client library (redis-py, ioredis, Jedis, go-redis, etc.)
- Memory: Sufficient RAM allocation for your dataset size and operational overhead
Deployment Dependencies
Implementation Details
After deployment, use the VALKEY_URL environment variable to connect from your applications:
import { createClient } from 'redis';
const client = createClient({ url: process.env.VALKEY_URL });
await client.connect();
// JSON module
await client.sendCommand(['JSON.SET', 'user:1', '$', '{"name":"Alice"}']);
// Bloom module
await client.sendCommand(['BF.ADD', 'emails:seen', '[email protected]']);
import redis
import os
client = redis.from_url(os.environ["VALKEY_URL"])
client.set("key", "value")
Why Deploy Valkey Bundle on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it. By deploying Valkey Bundle on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Valkey Bundle
valkey/valkey-bundle:latest