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>
Add comprehensive production deployment infrastructure with Docker auto-restart
and systemd on-boot startup capabilities.
Changes:
- Add deploy-production-docker.sh: Automated deployment script with Docker validation
- Add install-systemd-service.sh: Systemd service installer for auto-start on boot
- Add scripts/mev-bot.service: Systemd service definition for MEV bot
- Update docker-compose.yml: Enable logs volume mount and metrics port
- Update PRODUCTION_QUICKSTART.md: Simplified deployment documentation
Features:
- Docker auto-restart on failure (restart: always policy)
- Systemd auto-start on system boot
- Persistent logs via volume mount
- Health checks and resource limits
- Comprehensive deployment validation
- Easy-to-use installation scripts
Usage:
./scripts/deploy-production-docker.sh # Deploy with Docker
sudo ./scripts/install-systemd-service.sh # Enable auto-start on boot
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add docker-compose.yml with production-ready configuration including auto-restart, health checks, resource limits, and security hardening
- Completely rewrite DEPLOYMENT_GUIDE.md from smart contract deployment to comprehensive Docker/L2 MEV bot deployment guide
- New guide includes Docker deployment, systemd integration, monitoring setup with Prometheus/Grafana, performance optimization, security configuration, and troubleshooting
- Configuration supports environment-based setup with .env file integration
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>