Add volume mount for Redis

This commit is contained in:
Liam 2022-10-27 21:14:35 +01:00
parent 1222eed2a7
commit a6123ea3c4

@ -12,5 +12,10 @@ services:
image: bitnami/redis:latest image: bitnami/redis:latest
restart: always restart: always
environment: environment:
- PUID=1000
- PGID=1000
- REDIS_PASSWORD=<PASSWORD> - REDIS_PASSWORD=<PASSWORD>
volumes:
- /home/<folder>/redis:/bitnami/redis/data
command: /opt/bitnami/scripts/redis/run.sh --maxmemory 512mb command: /opt/bitnami/scripts/redis/run.sh --maxmemory 512mb