services/redis/docker-compose.yml

19 lines
403 B
YAML
Raw Normal View History

2021-07-26 09:49:35 +02:00
version: "3.8"
2022-02-22 11:51:34 +01:00
volumes:
redis:
name: ${REDIS_VOLUME_NAME:-redis}
2021-07-26 09:49:35 +02:00
services:
redis:
image: ${REDIS_IMAGE:-redis:6.2.6-alpine}
2021-07-26 09:49:35 +02:00
container_name: ${REDIS_CONTAINER_NAME:-redis}
restart: always
environment:
PUID: ${REDIS_PUID:-1000}
PGID: ${REDIS_PGID:-1000}
2021-07-26 09:49:35 +02:00
volumes:
2022-02-22 11:51:34 +01:00
- redis:/data
2021-07-26 09:49:35 +02:00
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro