Secure redis.conf

This commit is contained in:
Mouse Reeve 2020-10-28 11:37:28 -07:00
parent 439feac110
commit 54b924a4e2
2 changed files with 6 additions and 0 deletions

View file

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

4
redis.conf Normal file
View file

@ -0,0 +1,4 @@
bind 127.0.0.1 ::1
requirepass pAsSwOrD
protected-mode yes
port 6379