Files
安正超 affe27298c fix: improve Windows build support and CI/CD workflow (#283)
- Fix Windows zip command issue by using PowerShell Compress-Archive
- Add Windows support for OSS upload with ossutil
- Replace Chinese comments with English in build.yml
- Fix bash syntax error in package_zip function
- Improve code formatting and consistency
- Update various configuration files for better cross-platform support

Resolves Windows build failures in GitHub Actions.
2025-07-22 23:55:57 +08:00
..

Docker Compose Configurations

This directory contains specialized Docker Compose configurations for different use cases.

📁 Configuration Files

This directory contains specialized Docker Compose configurations and their associated Dockerfiles, keeping related files organized together.

Main Configuration (Root Directory)

  • ../../docker-compose.yml - Default Production Setup
    • Complete production-ready configuration
    • Includes RustFS server + full observability stack
    • Supports multiple profiles: dev, observability, cache, proxy
    • Recommended for most users

Specialized Configurations

  • docker-compose.cluster.yaml - Distributed Testing

    • 4-node cluster setup for testing distributed storage
    • Uses local compiled binaries
    • Simulates multi-node environment
    • Ideal for development and cluster testing
  • docker-compose.observability.yaml - Observability Focus

    • Specialized setup for testing observability features
    • Includes OpenTelemetry, Jaeger, Prometheus, Loki, Grafana
    • Uses ../../Dockerfile.source for builds
    • Perfect for observability development

🚀 Usage Examples

Production Setup

# Start main service
docker-compose up -d

# Start with development profile
docker-compose --profile dev up -d

# Start with full observability
docker-compose --profile observability up -d

Cluster Testing

# Build and start 4-node cluster (run from project root)
cd .docker/compose
docker-compose -f docker-compose.cluster.yaml up -d

# Or run directly from project root
docker-compose -f .docker/compose/docker-compose.cluster.yaml up -d

Observability Testing

# Start observability-focused environment (run from project root)
cd .docker/compose
docker-compose -f docker-compose.observability.yaml up -d

# Or run directly from project root
docker-compose -f .docker/compose/docker-compose.observability.yaml up -d

🔧 Configuration Overview

Configuration Nodes Storage Observability Use Case
Main 1 Volume mounts Full stack Production
Cluster 4 HTTP endpoints Basic Testing
Observability 4 Local data Advanced Development

📝 Notes

  • Always ensure you have built the required binaries before starting cluster tests
  • The main configuration is sufficient for most use cases
  • Specialized configurations are for specific testing scenarios