AstroML Docker Files Index
Complete inventory of all Docker-related files for the AstroML project.
📍 File Locations & Navigation
astroml/
├── Dockerfile # Multi-stage Docker build
├── docker-compose.yml # Main service orchestration
├── docker-compose.prod.yml # Production overrides
├── Dockerfile.soroban # Soroban contracts environment
├── .dockerignore # Build context optimization
├── .env.example # Environment template
├── docker-env-guide.md # Configuration guide
├── DOCKER.md # Main documentation hub ⭐
├── DOCKER_QUICK_REFERENCE.md # Quick command reference ⭐
├── DOCKER_PRODUCTION_DEPLOYMENT.md # Production guide
├── DOCKER_TROUBLESHOOTING.md # Troubleshooting guide
├── DOCKER_COMPLETION_SUMMARY.md # Completion summary
├── DOCKER_VALIDATION_CHECKLIST.md # Validation status
└── README.md # (updated with Docker section)
docs/
└── DOCKER_SETUP.md # Comprehensive setup guide
scripts/
├── docker-start.sh # Service management CLI
├── docker-health-check.sh # Health verification
├── docker-backup.sh # Backup automation
└── docker-start.sh # Deployment helper
monitoring/
├── prometheus/
│ ├── prometheus.yml # Prometheus configuration ⭐
│ └── alert_rules.yml # Alert rules
└── grafana/
├── ingestion_dashboard.json # Pre-built dashboard
└── provisioning/
├── dashboards.yml # Dashboard provisioning ⭐
└── datasources/
└── prometheus.yml # Datasource config ⭐
Kubernetes Directory (Optional)
k8s/
├── astroml-deployment.yaml
├── postgres-deployment.yaml
├── redis-deployment.yaml
├── namespace.yaml
├── rbac.yaml
└── kustomization.yaml
docker-entrypoint-ingestion.sh # Ingestion service init ⭐
docker-entrypoint-training.sh # Training service init ⭐
🔴 Critical Files (Must have for Docker to work)
File
Purpose
Dockerfile
Container image definition
docker-compose.yml
Service orchestration
.env.example
Configuration template
scripts/docker-start.sh
Service management
🟠 Important Files (Highly recommended)
File
Purpose
docker-compose.prod.yml
Production configuration
scripts/docker-health-check.sh
Health verification
scripts/docker-backup.sh
Backup automation
DOCKER.md
Documentation hub
DOCKER_QUICK_REFERENCE.md
Quick commands
🟡 Supporting Files (Enhancing functionality)
File
Purpose
docker-env-guide.md
Configuration guide
DOCKER_TROUBLESHOOTING.md
Issue solutions
DOCKER_PRODUCTION_DEPLOYMENT.md
Deployment guide
monitoring/prometheus/prometheus.yml
Metrics collection
monitoring/grafana/provisioning/*
Dashboards
🟢 Optional Files (Nice to have)
File
Purpose
Dockerfile.soroban
Smart contracts
k8s/
Kubernetes support
docker-entrypoint-*.sh
Advanced init
📚 Documentation Quick Links
DOCKER.md - Main documentation hub with all links
DOCKER_QUICK_REFERENCE.md - Quick commands
README.md - Project overview (Docker section)
docker-env-guide.md - Environment variables
.env.example - Configuration template
docs/DOCKER_SETUP.md - Detailed setup
DOCKER_PRODUCTION_DEPLOYMENT.md - Production guide
scripts/docker-backup.sh - Backup script
scripts/docker-health-check.sh - Health checks
DOCKER_TROUBLESHOOTING.md - Common issues
DOCKER_COMPLETION_SUMMARY.md - Overview
DOCKER_VALIDATION_CHECKLIST.md - Status
🚀 Quick Access by Use Case
"I'm new to AstroML Docker"
Start: README.md (Docker section)
Learn: DOCKER.md
Try: DOCKER_QUICK_REFERENCE.md
Run: ./scripts/docker-start.sh core
"I want to configure the environment"
Copy: cp .env.example .env
Read: docker-env-guide.md
Edit: .env with your values
Start: ./scripts/docker-start.sh core
"I need to debug an issue"
Run: ./scripts/docker-health-check.sh
Check: DOCKER_TROUBLESHOOTING.md
View: docker-compose logs -f
Help: docker-env-guide.md
"I'm setting up production"
Read: DOCKER_PRODUCTION_DEPLOYMENT.md
Use: docker-compose.prod.yml
Setup: Backup with ./scripts/docker-backup.sh
Monitor: Configure Prometheus & Grafana
"I want to run specific tasks"
Start dev environment: ./scripts/docker-start.sh dev
Start training: ./scripts/docker-start.sh training-cpu
Start monitoring: ./scripts/docker-start.sh monitoring
See help: ./scripts/docker-start.sh help
File
Lines
Variables
Purpose
.env.example
60+
50+
All configuration options
docker-compose.yml
200+
12 services
Main orchestration
docker-compose.prod.yml
150+
Overrides
Production settings
Dockerfile
180+
Multi-stage
Container build
Dockerfile.soroban
100+
Rust build
Contract environment
File
Pages
Sections
Audience
DOCKER.md
5+
15+
Everyone
DOCKER_QUICK_REFERENCE.md
3+
12+
Developers
docker-env-guide.md
4+
10+
DevOps/Developers
DOCKER_PRODUCTION_DEPLOYMENT.md
6+
20+
DevOps/SRE
DOCKER_TROUBLESHOOTING.md
8+
25+
Everyone
DOCKER_COMPLETION_SUMMARY.md
4+
15+
Project managers
File
Type
Lines
Purpose
docker-start.sh
Bash
250+
Service management
docker-health-check.sh
Bash
300+
Health verification
docker-backup.sh
Bash
150+
Backup automation
docker-entrypoint-ingestion.sh
Bash
60+
Service init
docker-entrypoint-training.sh
Bash
50+
Service init
To properly set up Docker, you need:
Start services → ./scripts/docker-start.sh
Check health → ./scripts/docker-health-check.sh
Backup data → ./scripts/docker-backup.sh
View logs → docker-compose logs -f
Access database → docker-compose exec postgres psql ...
Access Jupyter → http://localhost:8888
Access Grafana → http://localhost:3000
First Time? Read DOCKER.md
Quick Start? Use DOCKER_QUICK_REFERENCE.md
Setup Environment? Follow docker-env-guide.md
Got Issues? Check DOCKER_TROUBLESHOOTING.md
Going Live? Read DOCKER_PRODUCTION_DEPLOYMENT.md
Total Docker-specific files : 25+
Documentation files : 8
Script files : 4
Configuration files : 5
Monitoring configs : 3
Total lines of code/docs : 2000+
Environment variables : 50+
Docker services : 12
Health checks : 5+
File
Key Features
Dockerfile
Multi-stage, CPU/GPU, dev/prod targets
docker-compose.yml
12 services, health checks, volumes, networking
docker-compose.prod.yml
Resource limits, optimization, production config
scripts/docker-start.sh
Service management, profiles, error handling
scripts/docker-health-check.sh
Service verification, network checks, diagnostics
scripts/docker-backup.sh
Automated backups, compression, verification
DOCKER.md
Central hub, navigation, quick start
docker-env-guide.md
Configuration reference, templates, validation
DOCKER_TROUBLESHOOTING.md
25+ solutions, debugging techniques
DOCKER_PRODUCTION_DEPLOYMENT.md
Deployment checklist, maintenance, tuning
Last Updated: May 27, 2026
Status: ✅ Complete & Production-Ready