Skip to content

Production-ready Redis service with persistence and security features to use for Django Celery Integration.

Notifications You must be signed in to change notification settings

hc-sousa/redis-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Service

Production-ready Redis service with persistence and security features.

Environment Variables

  • REDIS_PASSWORD: Required. Password for Redis authentication
  • REDIS_MAX_MEMORY: Optional. Maximum memory limit (default: 256mb)

Features

  • Persistence enabled with AOF
  • Memory management with LRU eviction
  • Security with password authentication
  • Health checks included
  • Non-root user for security

Usage

# Build the image
docker build -t my-redis-service .

# Run the container
docker run -d \
  -e REDIS_PASSWORD=your_password \
  -v redis_data:/data \
  -p 6379:6379 \
  my-redis-service

About

Production-ready Redis service with persistence and security features to use for Django Celery Integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published