This template deploys the latest official Redis Docker image on Railway with automatic password generation and connection variables.
- 🔒 Auto-generated secure password
- 🌐 Automatic host and port configuration
- 📦 Latest Redis version
- ⚡ Ready-to-use connection variables
The following variables are automatically configured:
REDIS_URL
- Complete connection stringREDISHOST
- Redis server hostnameREDISPORT
- Redis server portREDISUSER
- Redis username (default: "default")REDISPASSWORD
- Auto-generated secure password
After deployment, use the REDIS_URL
environment variable to connect from your applications:
const redis = require("redis");
const client = redis.createClient(process.env.REDIS_URL);