version: '3.8'

# Development compose for mana-notify
# Provides Redis for BullMQ queue
# PostgreSQL should be running from root docker-compose

services:
  redis:
    image: redis:7-alpine
    container_name: mana-notify-redis-dev
    ports:
      - '6379:6379'
    volumes:
      - redis-data:/data
    command: redis-server --appendonly yes
    healthcheck:
      test: ['CMD', 'redis-cli', 'ping']
      interval: 10s
      timeout: 5s
      retries: 5

volumes:
  redis-data:
