docker-compose.yml- Standard GPU setup with all servicesdocker-compose.dev.yml- Development setup with source mountingdocker-compose.cpu.yml- CPU-only setup (limits via local Compose are not enforced).env.example- Environment variables template
docker-compose/README.md- Comprehensive setup guidedocker-compose-helper.sh- Easy management script
# Clone and navigate to lora-pilot directory
cd lora-pilot
# Setup workspace and environment
./docker-compose-helper.sh setup
# Start with GPU support
./docker-compose-helper.sh start
# Or start CPU-only
./docker-compose-helper.sh start cpu- ControlPilot: http://localhost:7878
- JupyterLab: http://localhost:8888
- VS Code Server: http://localhost:8443
- ComfyUI: http://localhost:5555
- Kohya SS: http://localhost:6666
- InvokeAI: http://localhost:9090
- Diffusion Pipe: http://localhost:4444
- AI Toolkit: http://localhost:8675
# Start services
./docker-compose-helper.sh start [standard|dev|cpu]
# Stop services
./docker-compose-helper.sh stop [standard|dev|cpu]
# View logs
./docker-compose-helper.sh logs [standard|dev|cpu]
# Access container shell
./docker-compose-helper.sh shell [standard|dev|cpu]
# Check status
./docker-compose-helper.sh status [standard|dev|cpu]
# Update image
./docker-compose-helper.sh update
# Setup workspace
./docker-compose-helper.sh setup# Timezone
TZ=America/New_York
# Hugging Face token
HF_TOKEN=your_token_here
# Custom ports
JUPYTER_PORT=8888
COMFY_PORT=5555
AI_TOOLKIT_PORT=8675
# ... etcvolumes:
# Main workspace
- ./workspace:/workspace
# Custom models
- ./my-models:/workspace/models
# Custom datasets
- ./my-datasets:/workspace/datasets- ✅ Full GPU support
- ✅ All services exposed
- ✅ Health checks
- ✅ Production-ready
- ✅ Source code mounting
- ✅ Debug mode enabled
- ✅ Interactive shell access
- ✅ Live reloading
- ✅ No GPU requirements
- ✅ Minimal ports
- ✅ Optimized for CPU inference
⚠️ Resource limits are not enforced by local Docker Compose (use Docker runtime limits if needed)
- GPU not detected: Check NVIDIA Docker installation
- Port conflicts: Change ports in compose file
- Permission errors: Fix workspace permissions
- Memory issues: Use Docker runtime limits (
--memory,--cpus) or Docker Desktop settings
# Check container status
docker-compose ps
# View logs
./docker-compose-helper.sh logs
# Access shell
./docker-compose-helper.sh shell
# Check GPU access
docker run --rm --gpus all nvidia/cuda:12.4.1-runtime-ubuntu22.04 nvidia-smiSee docker-compose/README.md for comprehensive documentation including:
- Prerequisites and installation
- Customization options
- Troubleshooting guide
- Production tips
- Additional resources
- Easy Setup: One-command deployment
- Multiple Configurations: GPU, CPU, Development modes
- Persistent Storage: Workspace data preserved
- Health Monitoring: Built-in health checks
- Resource Management: Use Docker runtime limits if needed
- Development Friendly: Source mounting and debug mode
Users can now easily run LoRA Pilot locally with professional Docker Compose setup! 🚀✨