version: "3.8" services: redis: image: ${REDIS_IMAGE:-redis:6.2.5-alpine} container_name: ${REDIS_CONTAINER_NAME:-redis} restart: always volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro