Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
开放Docker的Redis全局访问权限 但端口要自行打开
Browse files Browse the repository at this point in the history
  • Loading branch information
WindyCloudCute committed Jul 10, 2023
1 parent 5f905c5 commit f7672e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/docker/redis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
# IF YOU ARE SURE YOU WANT YOUR INSTANCE TO LISTEN TO ALL THE INTERFACES
# JUST COMMENT THE FOLLOWING LINE.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind 127.0.0.1
bind 0.0.0.0

# Protected mode is a layer of security protection, in order to avoid that
# Redis instances left open on the internet are accessed and exploited.
Expand Down

0 comments on commit f7672e1

Please sign in to comment.