Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahchen6 committed Feb 14, 2025
1 parent 9096762 commit 766a7a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ services:
- "127.0.0.1:${TEST_PRESTO_PORT}:8080"
redis:
image: redis:6.2
# Explicitly bind server to the hostname "redis" instead of localhost.
# This prevents connection issues inside Docker by connecting to redis at `redis:6379` instead of `127.0.0.1:6379`.
command: ["redis-server", "--bind", "redis", "--port", "6379"]
expose:
- "6379"
Expand Down

0 comments on commit 766a7a5

Please sign in to comment.