Merge pull request 'feat(Redis): Add volume name' (#30) from redis into main
## Détails - Ajout d'un volume dans le conteneur Redis ## Pourquoi - Pour permettre de persister les données de Redis permettant de redémarrer un conteneur sans être déconnecté Reviewed-on: https://git.weko.io/resilien/services/pulls/30
This commit is contained in:
commit
af49fefe12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue