services: redis: image: redis/redis-stack-server:latest container_name: ${CONTAINER_NAME} restart: always ports: - ${REDIS_PORT}:6379 volumes: - ./data:/data - ./logs:/logs - ./redis.conf:/usr/local/etc/redis/redis.conf entrypoint: /bin/sh command: -c 'redis-server /usr/local/etc/redis/redis.conf'