Skip to content

Commit

Permalink
Merge pull request #1746 from unboxed/fix-redis-persistance
Browse files Browse the repository at this point in the history
Improve redis docker configuration
  • Loading branch information
pixeltrix authored Apr 26, 2024
2 parents ab3c7cb + c749a23 commit 7c98ca5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ services:

redis:
image: redis:7.0
command: redis-server
command: ["redis-server", "--save '60 1'", "--loglevel warning"]
ports:
- "127.0.0.1:6379:6379"
volumes:
- type: volume
source: redis
target: /var/lib/redis/data
target: /data

web:
<<: *bops
Expand Down

0 comments on commit 7c98ca5

Please sign in to comment.