redis preset runs Redis 8 Alpine on amd64 or arm64. It listens on port
6379, stores data in /data, enables append-only persistence, and requires
password authentication for health and managed operations.
Declare the resource
.towbar/resources/redis.resource.yml
REDIS_PASSWORD is required. Towbar injects it into the managed Redis command
and uses the same value for authenticated health checks, backups, and restores.
Connect from an app
Containers on theapplication network can reach redis:6379. Save a URL such
as redis://:PASSWORD@redis:6379/0 in the app’s runtime secrets. The optional
SSH tunnel binds 16379 only to server loopback.
Change the password
ReplacingREDIS_PASSWORD changes the command used by the next deployment, but
it is still an operational credential change. Coordinate clients before
redeploying, verify that they use the new value, and keep a tested rollback path.
