Skip to content

Commit 2afdb02

Browse files
committed
chore(docker): update Redis service configuration in docker-compose.yml
- Changed the default host port for Redis from 6379 to 6380 to avoid conflicts with the host's Redis instance. - Updated the corresponding environment variable from REDIS_PORT to REDIS_HOST_PORT for clarity.
1 parent 89aa1fd commit 2afdb02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ services:
6464
timeout: 5s
6565
retries: 5
6666

67-
# Redis Cache
67+
# Redis Cache (host port defaults to 6380 to avoid conflict with host Redis on 6379)
6868
redis:
6969
image: redis:7-alpine
7070
container_name: osm-notes-redis
7171
command: redis-server --appendonly yes --requirepass ${REDIS_PASSWORD:-}
7272
ports:
73-
- '${REDIS_PORT:-6379}:6379'
73+
- '${REDIS_HOST_PORT:-6380}:6379'
7474
volumes:
7575
- redis_data:/data
7676
restart: unless-stopped

0 commit comments

Comments
 (0)