Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aldwin7894 committed Apr 15, 2023
1 parent 2ae52a8 commit c5e0a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/redis.conf → config/redis/redis.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
maxmemory 100mb
maxmemory 1gb
maxmemory-policy allkeys-lfu
maxmemory-samples 5
lfu-log-factor 10
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- 6379:6379
volumes:
- redis:/data
- ./config/redis.conf:/usr/local/etc/redis/redis.conf
- ${$PWD}/config/redis:/usr/local/etc/redis
healthcheck:
test: redis-cli ping
interval: 10s
Expand Down

0 comments on commit c5e0a98

Please sign in to comment.