19 lines
403 B
YAML
19 lines
403 B
YAML
version: "3.8"
|
|
|
|
volumes:
|
|
redis:
|
|
name: ${REDIS_VOLUME_NAME:-redis}
|
|
|
|
services:
|
|
redis:
|
|
image: ${REDIS_IMAGE:-redis:6.2.6-alpine}
|
|
container_name: ${REDIS_CONTAINER_NAME:-redis}
|
|
restart: always
|
|
environment:
|
|
PUID: ${REDIS_PUID:-1000}
|
|
PGID: ${REDIS_PGID:-1000}
|
|
volumes:
|
|
- redis:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|