feat(Redis): Add volume name

This commit is contained in:
Simon 2022-02-22 11:51:34 +01:00
parent dbe1cd0f0e
commit 4f2ae331df
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
version: "3.8"
volumes:
redis:
name: ${REDIS_VOLUME_NAME:-redis}
services:
redis:
image: ${REDIS_IMAGE:-redis:6.2.6-alpine@sha256:4bed291aa5efb9f0d77b76ff7d4ab71eee410962965d052552db1fb80576431d}
@ -9,5 +13,6 @@ services:
PUID: ${REDIS_PUID:-1000}
PGID: ${REDIS_PGID:-1000}
volumes:
- redis:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro