Add a reasonable default Redis persistence
Despite the claim of the README.md, `PostgreSQL and Redis data is persisted in Docker volumes`, this is not actually the case. The volume is present, but Redis is not configured to use it. This question comes up on the forum monthly, if not more frequently. Choose a reasonable default for people to build on.
This commit is contained in:
parent
24ce6fa78e
commit
d5e0d92393
@ -65,6 +65,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
command: redis-server --save 300 1 --save 60 100 --appendonly no
|
||||||
volumes:
|
volumes:
|
||||||
- redisdata:/data
|
- redisdata:/data
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user