Skip to content

Commit 65bf3f1

Browse files
dokterbobclaude
andcommitted
Address PR feedback: improve Docker configuration clarity
- Use consistent memory unit formatting (512M instead of 512mb) - Add explanatory comment for PostgreSQL max_connections increase in production - Maintain consistency across development and production compose files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 148e51a commit 65bf3f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker-compose.prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
- POSTGRES_USER=${POSTGRES_USER:-langgraph}
1010
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
1111
- POSTGRES_INITDB_ARGS="--encoding=UTF8 --lc-collate=C --lc-ctype=C"
12-
- POSTGRES_MAX_CONNECTIONS=500
12+
- POSTGRES_MAX_CONNECTIONS=500 # Increased for high concurrency production workloads
1313
- POSTGRES_SHARED_BUFFERS=512MB
1414
- POSTGRES_EFFECTIVE_CACHE_SIZE=2GB
1515
- POSTGRES_WORK_MEM=16MB
@@ -43,7 +43,7 @@ services:
4343
# Redis for LangGraph task queue (Production)
4444
redis:
4545
image: redis:7-alpine
46-
command: redis-server --appendonly yes --maxmemory 1gb --maxmemory-policy allkeys-lru --tcp-keepalive 60 --timeout 300
46+
command: redis-server --appendonly yes --maxmemory 1G --maxmemory-policy allkeys-lru --tcp-keepalive 60 --timeout 300
4747
ports:
4848
- "127.0.0.1:6379:6379" # Only bind to localhost in production
4949
volumes:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
# Redis for LangGraph task queue
3434
redis:
3535
image: redis:7-alpine
36-
command: redis-server --appendonly yes --maxmemory 512mb --maxmemory-policy allkeys-lru
36+
command: redis-server --appendonly yes --maxmemory 512M --maxmemory-policy allkeys-lru
3737
ports:
3838
- "6379:6379"
3939
volumes:

0 commit comments

Comments
 (0)