feat(docker): complete production deployment with data volume and arbitrage enabled
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 <noreply@anthropic.com>
This commit is contained in:
@@ -78,3 +78,13 @@ database:
|
|||||||
max_open_connections: 5
|
max_open_connections: 5
|
||||||
# Maximum number of idle connections
|
# Maximum number of idle connections
|
||||||
max_idle_connections: 2
|
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
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
# Mount logs directory for persistent logs
|
# Mount logs directory for persistent logs
|
||||||
- ./logs:/app/logs
|
- ./logs:/app/logs
|
||||||
|
# Mount data directory for database
|
||||||
|
- ./data:/app/data
|
||||||
# Mount development config (simpler, no YAML parsing issues)
|
# Mount development config (simpler, no YAML parsing issues)
|
||||||
- ./config/config.dev.yaml:/app/config/config.yaml:ro
|
- ./config/config.dev.yaml:/app/config/config.yaml:ro
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user