Skip to content

fix: add persistent volumes for Redis, RabbitMQ, Zookeeper, and Kafka - #85

Merged
Senthil455 merged 1 commit into
mainfrom
fix/persistent-volumes-redis-rabbitmq-kafka
Jun 17, 2026
Merged

fix: add persistent volumes for Redis, RabbitMQ, Zookeeper, and Kafka#85
Senthil455 merged 1 commit into
mainfrom
fix/persistent-volumes-redis-rabbitmq-kafka

Conversation

@DivyashreeR008

Copy link
Copy Markdown
Collaborator

Description

Docker Compose only defined persistent volumes for Postgres and MongoDB. Redis, RabbitMQ, Zookeeper, and Kafka had no volumes, causing session cache, message queues, stream data, and coordination state to be lost on container restart.

Changes

Added Docker named volumes for the following services:

Service Volume Mount Path
Redis \
edis_data\ /data\
RabbitMQ \
abbitmq_data\ /var/lib/rabbitmq\
Zookeeper \zookeeper_data\ /var/lib/zookeeper/data\
Zookeeper \zookeeper_log\ /var/lib/zookeeper/log\
Kafka \kafka_data\ /var/lib/kafka/data\

All volumes use the default \local\ driver and are declared in the top-level \�olumes:\ section alongside the existing \�tlas_postgres_data\ and \mongo_data\ volumes.

Impact

  • Redis cache, RabbitMQ queues, Kafka streams, and Zookeeper state now persist across container restarts
  • No breaking changes to existing workflows
  • No manual volume cleanup needed on \docker-compose down -v\

Fixes #57

Add Docker named volumes for Redis, RabbitMQ, Zookeeper, and Kafka
services to prevent data loss on container restart.

Previously only Postgres and MongoDB had persistent volumes, causing
session cache, message queues, stream data, and Zookeeper state to
be ephemeral.

- Redis: redis_data -> /data
- RabbitMQ: rabbitmq_data -> /var/lib/rabbitmq
- Zookeeper: zookeeper_data -> /var/lib/zookeeper/data,
  zookeeper_log -> /var/lib/zookeeper/log
- Kafka: kafka_data -> /var/lib/kafka/data

Fixes #57
@DivyashreeR008

Copy link
Copy Markdown
Collaborator Author

@Senthil455 Please review this fix for #57.

@Senthil455
Senthil455 merged commit e356755 into main Jun 17, 2026
7 of 19 checks passed

@Senthil455 Senthil455 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gh: Not Found (HTTP 404)
{"message":"Not Found","documentation_url":"https://docs.github.com/rest/issues/comments#get-an-issue-comment","status":"404"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MEDIUM: Docker Compose has no volumes for Redis, RabbitMQ, or Kafka

2 participants