Score-compose is a reference implementation of the Score specification for Docker Compose, primarily used for local development.
Score-compose solves the problem of translating platform-agnostic workload definitions into Docker Compose configurations for local development environments. It implements the Score specification, which allows developers to define their application workloads once and deploy them across different platforms. The tool parses Score files and generates corresponding Docker Compose manifests, handling the mapping of abstract workload requirements to concrete Compose services and resources.
Developers should choose score-compose when working locally with Docker Compose and needing to test workloads defined in the Score format before deploying to production platforms. It suits projects that use Score as their workload definition standard and want a lightweight local development experience. The tool includes a resource provisioning system that automatically supplies and configures attached services such as databases, queues, storage, and message brokers. Most Score specification features are supported, though container resource limits and HTTP probes are validated but ignored, as the Compose specification lacks reliable equivalents. Out-of-the-box resource support includes environment variables, service ports, volumes, and databases like PostgreSQL, MySQL, and MongoDB, along with Redis, S3, DNS, AMQP, Kafka, Elasticsearch, and MSSQL.
The project maintains active issue tracking with specific features like HTTP probe conversion marked for future work. Development activity shows ongoing refinement of Score specification compliance and resource provisioning capabilities.