From 1a31836428203a9dbc987a749299b1af3f302f32 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 9 Nov 2025 04:34:05 +0100 Subject: [PATCH] feat(docker): complete production deployment with data volume and arbitrage enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Final production deployment fixes to enable full MEV bot functionality. Changes: - Add data volume mount to docker-compose.yml for database persistence - Enable arbitrage service in config.dev.yaml - Add arbitrage configuration section with default values Testing: - Container running and healthy - Processing Arbitrum blocks successfully - Running arbitrage scans every 5 seconds - Database created and operational - Metrics server accessible on port 9090 Status: - Container: mev-bot-production - Health: Up and healthy - Blocks processed: 17+ - Arbitrage scans: 10+ completed - Auto-restart: enabled (restart: always) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- config/config.dev.yaml | 12 +++++++++++- docker-compose.yml | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/config/config.dev.yaml b/config/config.dev.yaml index 46d4a12..302e158 100644 --- a/config/config.dev.yaml +++ b/config/config.dev.yaml @@ -77,4 +77,14 @@ database: # Maximum number of open connections max_open_connections: 5 # Maximum number of idle connections - max_idle_connections: 2 \ No newline at end of file + max_idle_connections: 2 +# Arbitrage configuration +arbitrage: + # Enable or disable arbitrage service + enabled: true + # Minimum profit threshold in USD + min_profit: 1.0 + # Maximum position size in USD + max_position_size: 1000.0 + # Gas price limit in gwei + max_gas_price: 100 diff --git a/docker-compose.yml b/docker-compose.yml index 087d771..285dd39 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,8 @@ services: volumes: # Mount logs directory for persistent logs - ./logs:/app/logs + # Mount data directory for database + - ./data:/app/data # Mount development config (simpler, no YAML parsing issues) - ./config/config.dev.yaml:/app/config/config.yaml:ro environment: