From 087f3dc5e3cb21e368e9c7451eb521d3cb724774 Mon Sep 17 00:00:00 2001 From: denshooter Date: Mon, 8 Sep 2025 08:48:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Update=20Redis=20Configuration?= =?UTF-8?q?=20in=20Docker=20Compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Changed Redis URL: - Updated the Redis connection string in docker-compose.prod.yml to use the new shared Redis service. ✅ Removed Redis Dependency Check: - Eliminated the health check dependency for the Redis service as it is no longer required. 🎯 Improvements: - Streamlined Redis configuration for production deployment. --- docker-compose.prod.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 7f82874..2491b67 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -10,7 +10,7 @@ services: environment: - NODE_ENV=production - DATABASE_URL=postgresql://portfolio_user:portfolio_pass@postgres:5432/portfolio_db?schema=public - - REDIS_URL=redis://:portfolio_redis_pass@redis:6379 + - REDIS_URL=redis://redis-redis-shared-1:6379 - NEXT_PUBLIC_BASE_URL=${NEXT_PUBLIC_BASE_URL} - MY_EMAIL=${MY_EMAIL} - MY_INFO_EMAIL=${MY_INFO_EMAIL} @@ -24,8 +24,6 @@ services: depends_on: postgres: condition: service_healthy - redis: - condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"] interval: 30s @@ -79,4 +77,3 @@ volumes: networks: portfolio_net: external: true -