Fixes redis conf location in image

This commit is contained in:
Mouse Reeve 2020-10-28 11:51:25 -07:00
parent 54b924a4e2
commit be1a26d32b
2 changed files with 7 additions and 1 deletions

View file

@ -48,7 +48,7 @@ services:
image: redis
command: redis-server --requirepass ${REDIS_PASSWORD}
volumes:
- ./redis.conf:/usr/local/etc/redis/redis.conf
- ./redis.conf:/etc/redis/redis.conf
env_file: .env
ports:
- 6379:6379

View file

@ -2,3 +2,9 @@ bind 127.0.0.1 ::1
requirepass pAsSwOrD
protected-mode yes
port 6379
rename-command FLUSHDB ""
rename-command FLUSHALL ""
rename-command DEBUG ""
rename-command CONFIG ""
rename-command SHUTDOWN ""