(maint) Add option to disable Redis persistence in docker-compose

This commit is just a handy little command override to the redis
container to prevent persistence.
This commit is contained in:
Brandon High 2019-12-03 17:36:58 -08:00
parent 5739b567e9
commit 2a9f0058c5
No known key found for this signature in database
GPG key ID: 270079C784FCAFDE

View file

@ -22,6 +22,8 @@ services:
- redislocal - redislocal
redislocal: redislocal:
image: redis image: redis
# Uncomment this if you don't want the redis data to persist
#command: "redis-server --save '' --appendonly no"
ports: ports:
- "6379:6379" - "6379:6379"
networks: networks: