Skip to content

Commit

Permalink
(maint) Add option to disable Redis persistence in docker-compose
Browse files Browse the repository at this point in the history
This commit is just a handy little command override to the redis
container to prevent persistence.
  • Loading branch information
Brandon High committed Dec 4, 2019
1 parent d16349e commit 7a62ad2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ services:
- redislocal
redislocal:
image: redis
# Uncomment this if you don't want the redis data to persist
#command: "redis-server --save '' --appendonly no"
ports:
- "6379:6379"
networks:
Expand Down

0 comments on commit 7a62ad2

Please sign in to comment.