Docker Deployment Strategy #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master-deployment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Docker Deployment Infrastructure
This PR implements Docker deployment infrastructure and binary release preparation for HERO Ledger.
🐋 Docker Infrastructure
Two-Image Architecture
hero_ledger_cli (~100 MB) - Lightweight CLI container
hero_ledger_full (~500 MB) - Complete node with neard
Key Features
✅ Separate images with independent
:latesttags✅ Optimized multi-stage builds
✅ Clear separation of concerns (CLI vs Full Node)
✅ Ready for registry publishing
Registry Paths
forge.ourworld.tf/geomind_research/hero_ledger_cli:latestforge.ourworld.tf/geomind_research/hero_ledger_full:latest📦 Release Artifacts
This PR prepares three types of release artifacts:
1. Standalone Binary (~15-20 MB)
2. Docker CLI Image (~100 MB)
3. Docker Full Image (~500 MB)
📝 Files Changed
Docker Files
docker/Dockerfile.cli- Lightweight CLI-only imagedocker/Dockerfile.full- Full image with neard (fixed build process)docker/docker-compose.yml- Support for both deployment typesdocker/README.md- Comprehensive Docker documentationDocumentation
README.md- Updated Quick Start with deployment optionsdocs/RELEASE.md- Three-artifact release strategyBuild Configuration
setup/Cargo.toml- Feature flags for binary buildssetup/src/bin/heronear.rs- CLI entry pointsetup/src/lib.rs- Module organization🔧 Technical Improvements
:latesttag✅ Testing
Binary Build