Skip to content

Commit 67090fb

Browse files
committed
fix(docker): restrict Redis port binding to local interface
1 parent c434de1 commit 67090fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ services:
4949
container_name: libredesk_redis
5050
restart: unless-stopped
5151
ports:
52-
- "6379:6379"
52+
# Only bind on the local interface.
53+
- "127.0.0.1:6379:6379"
5354
networks:
5455
- libredesk
5556
volumes:

0 commit comments

Comments
 (0)