From 2f5534b991c6214ea0bb489cc9652fd214d3d3f5 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Tue, 23 Sep 2025 09:26:35 +0000 Subject: [PATCH] fix(docs): Update Redis configuration and move deployment guide to proper location - Remove incorrect Redis password requirement from DEPLOYMENT_ENV_GUIDE.md - Redis password is now optional (defaults to None) - Move documentation from autogpt_platform/ to docs/content/platform/ - Update to reflect recent changes (redis:latest instead of bitnami/redis:6.2) Co-authored-by: Bently --- .../content/platform/deployment-env-guide.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename autogpt_platform/DEPLOYMENT_ENV_GUIDE.md => docs/content/platform/deployment-env-guide.md (97%) diff --git a/autogpt_platform/DEPLOYMENT_ENV_GUIDE.md b/docs/content/platform/deployment-env-guide.md similarity index 97% rename from autogpt_platform/DEPLOYMENT_ENV_GUIDE.md rename to docs/content/platform/deployment-env-guide.md index a8e6d665f1..a02afaf57f 100644 --- a/autogpt_platform/DEPLOYMENT_ENV_GUIDE.md +++ b/docs/content/platform/deployment-env-guide.md @@ -119,8 +119,8 @@ DB_CONNECTION_LIMIT=12 # Adjust based on expected load DB_CONNECT_TIMEOUT=60 # Increase if remote database DB_POOL_TIMEOUT=300 # Adjust for network latency -# Redis configuration (if using authentication) -# REDIS_PASSWORD= # Uncomment and set if Redis requires auth +# Redis configuration +# REDIS_PASSWORD= # Optional - only set if your Redis instance requires authentication ``` ### 5. Port Configuration @@ -197,7 +197,7 @@ If using Docker in production, ensure services can communicate: - [ ] **URLs**: Update all `localhost` references to your actual domain - [ ] **Security**: Generate new secure keys for all SECRET/KEY variables - [ ] **Database**: Update database host, credentials, and connection settings -- [ ] **Redis**: Update Redis host and add password if required +- [ ] **Redis**: Update Redis host (password is optional) - [ ] **OAuth**: Update all callback URLs for OAuth providers - [ ] **Email**: Configure production SMTP settings - [ ] **SSL/TLS**: Use `https://` and `wss://` protocols in production @@ -255,6 +255,8 @@ psql "postgresql://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_NAME}" # Test Redis connection redis-cli -h ${REDIS_HOST} -p ${REDIS_PORT} ping +# If using password authentication: +# redis-cli -h ${REDIS_HOST} -p ${REDIS_PORT} -a ${REDIS_PASSWORD} ping # Verify Supabase connection curl ${SUPABASE_URL}/rest/v1/