Improved server logging

This commit is contained in:
Fahad
2025-06-11 10:20:30 +04:00
parent f08153bad4
commit d880951da0
7 changed files with 214 additions and 12 deletions

View File

@@ -35,12 +35,29 @@ services:
# and Claude Code could be running from multiple locations at the same time
- WORKSPACE_ROOT=${WORKSPACE_ROOT:-${HOME}}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- PYTHONUNBUFFERED=1
volumes:
- ${HOME:-/tmp}:/workspace:ro
- mcp_logs:/tmp # Shared volume for logs
stdin_open: true
tty: true
entrypoint: ["python"]
command: ["server.py"]
log-monitor:
build: .
image: gemini-mcp-server:latest
container_name: gemini-mcp-log-monitor
restart: unless-stopped
depends_on:
- gemini-mcp
environment:
- PYTHONUNBUFFERED=1
volumes:
- mcp_logs:/tmp # Shared volume for logs
entrypoint: ["python"]
command: ["log_monitor.py"]
volumes:
redis_data:
redis_data:
mcp_logs: