* Fix: Enable FalkorDB Browser startup in MCP Server Docker image This fix addresses issue #1041 where the FalkorDB Browser web UI was not starting automatically in the combined FalkorDB + MCP Server Docker image. Changes: - Modified start-services.sh script in Dockerfile to include browser startup logic - Browser now starts automatically when BROWSER=1 (default behavior) - Can be disabled by setting BROWSER=0 environment variable - Browser logs are written to /var/log/graphiti/browser.log - Added safety checks to verify browser files exist before starting Updated documentation: - Added BROWSER environment variable to docker-compose.yml - Documented BROWSER variable in README-falkordb-combined.md - Added section explaining how to disable the browser - Updated architecture diagrams to show browser process The fix follows the upstream FalkorDB image pattern where the browser starts with HOSTNAME="0.0.0.0" on port 3000. Resolves #1041 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Daniel Chalef <danielchalef@users.noreply.github.com> * Fix: Add missing port 3000 mapping to BROWSER=0 example The docker run example for disabling the browser was missing the -p 3000:3000 port mapping, which should be included for reference even when BROWSER=0. Co-authored-by: Daniel Chalef <danielchalef@users.noreply.github.com> * default to browser enabled --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Daniel Chalef <danielchalef@users.noreply.github.com>
51 lines
No EOL
1.6 KiB
YAML
51 lines
No EOL
1.6 KiB
YAML
services:
|
|
falkordb:
|
|
image: falkordb/falkordb:latest
|
|
ports:
|
|
- "6379:6379" # Redis/FalkorDB port
|
|
- "3000:3000" # FalkorDB web UI
|
|
environment:
|
|
- FALKORDB_PASSWORD=${FALKORDB_PASSWORD:-}
|
|
- BROWSER=${BROWSER:-1} # Enable FalkorDB Browser UI (set to 0 to disable)
|
|
volumes:
|
|
- falkordb_data:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "-p", "6379", "ping"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 10s
|
|
|
|
graphiti-mcp:
|
|
image: zepai/knowledge-graph-mcp:standalone
|
|
# For specific versions, replace 'standalone' with a version tag:
|
|
# image: zepai/knowledge-graph-mcp:1.0.0-standalone
|
|
# When building locally, the build section below will be used.
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile.standalone
|
|
env_file:
|
|
- path: ../.env
|
|
required: false
|
|
depends_on:
|
|
falkordb:
|
|
condition: service_healthy
|
|
environment:
|
|
# Database configuration
|
|
- FALKORDB_URI=${FALKORDB_URI:-redis://falkordb:6379}
|
|
- FALKORDB_PASSWORD=${FALKORDB_PASSWORD:-}
|
|
- FALKORDB_DATABASE=${FALKORDB_DATABASE:-default_db}
|
|
# Application configuration
|
|
- GRAPHITI_GROUP_ID=${GRAPHITI_GROUP_ID:-main}
|
|
- SEMAPHORE_LIMIT=${SEMAPHORE_LIMIT:-10}
|
|
- CONFIG_PATH=/app/mcp/config/config.yaml
|
|
- PATH=/root/.local/bin:${PATH}
|
|
volumes:
|
|
- ../config/config-docker-falkordb.yaml:/app/mcp/config/config.yaml:ro
|
|
ports:
|
|
- "8000:8000" # Expose the MCP server via HTTP transport
|
|
command: ["uv", "run", "main.py"]
|
|
|
|
volumes:
|
|
falkordb_data:
|
|
driver: local |