feat(Redis): Add PUID and GPID variable

This commit is contained in:
Simon 2021-09-06 09:55:40 +02:00
parent a1ffc9f0fa
commit e21e654177
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@ services:
image: ${REDIS_IMAGE:-redis:6.2.5-alpine}
container_name: ${REDIS_CONTAINER_NAME:-redis}
restart: always
environment:
PUID: ${REDIS_PUID:-1000}
PGID: ${REDIS_PGID:-1000}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro