This is a quick reference guide for Docker deployment. For detailed information, see the comprehensive guides.
DOCKER_SUMMARY.md- Complete overview of Docker packagingDOCKER_DEPLOYMENT.md- Detailed deployment instructionsHOSTING_COMPARISON.md- Compare 15+ hosting optionsDEPLOYMENT_CHECKLIST.md- Step-by-step deployment checklistk8s/README.md- Kubernetes deployment guide
./docker-quickstart.shcp docker-compose.template.yml docker-compose.yml
docker-compose up -d
docker-compose exec codegraphcontext bashdocker build -t codegraphcontext:latest .
docker run -it --rm -v $(pwd):/workspace codegraphcontext:latest bash# On your cloud VM (Ubuntu/Debian)
./deploy-production.sh# Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Clone and deploy
git clone https://github.com/CodeGraphContext/CodeGraphContext.git
cd CodeGraphContext
./docker-quickstart.sh| Use Case | Provider | Cost | Setup |
|---|---|---|---|
| Hobby | Railway.app | Free | Very Easy |
| Production | DigitalOcean | $12-24/mo | Easy |
| Enterprise | Kubernetes | $50+/mo | Hard |
| Budget | Oracle Cloud | Free | Medium |
See HOSTING_COMPARISON.md for detailed comparison of 15+ options.
✅ Multi-stage Dockerfile (optimized for size) ✅ Docker Compose with FalkorDB Lite & Neo4j ✅ Kubernetes manifests (production-ready) ✅ GitHub Actions (automated builds) ✅ Quick-start script (interactive setup) ✅ Production deployment script (full automation) ✅ Comprehensive documentation ✅ Architecture diagram
# Start services
docker-compose up -d
# View logs
docker-compose logs -f codegraphcontext
# Access container
docker-compose exec codegraphcontext bash
# Stop services
docker-compose down
# Rebuild
docker-compose build --no-cache
# With Neo4j
docker-compose --profile neo4j up -d- Built-in, no setup required
- Perfect for development
- Lightweight and fast
docker-compose --profile neo4j up -d
# Then configure: cgc neo4j setup
# URI: bolt://neo4j:7687
# User: neo4j
# Pass: codegraph123| Environment | CPU | RAM | Storage |
|---|---|---|---|
| Development | 1 core | 2GB | 10GB |
| Production | 2-4 cores | 4-8GB | 20-50GB |
| Large Scale | 4+ cores | 8-16GB | 50-100GB |
- Change default Neo4j password
- Configure firewall rules
- Enable HTTPS/TLS
- Set up automated backups
- Use environment variables for secrets
- Regular security updates
docker-compose logs codegraphcontext
docker-compose build --no-cachedocker-compose ps
docker-compose logs neo4j# Edit docker-compose.yml
deploy:
resources:
limits:
memory: 4G- Local Testing: Run
./docker-quickstart.sh - Choose Hosting: Review
HOSTING_COMPARISON.md - Deploy: Follow
DOCKER_DEPLOYMENT.md - Checklist: Use
DEPLOYMENT_CHECKLIST.md - Monitor: Set up logging and backups
Local Development (Docker)
↓
Test on Railway.app (Free)
↓
Production on DigitalOcean ($12/mo)
↓
Scale with Kubernetes (as needed)
- Documentation: See files listed above
- GitHub Issues: https://github.com/CodeGraphContext/CodeGraphContext/issues
- Discord: https://discord.gg/dR4QY32uYQ
- Website: http://codegraphcontext.vercel.app/
Everything you need is here. Start with ./docker-quickstart.sh and refer to the detailed guides as needed.
Happy deploying! 🚀