Skip to main content

Orchestrate local microservice environments on Windows without Docker or WSL

Project description

local-dev-composer (ldc)

Orchestrate local microservice environments on Windows without Docker, Podman, or WSL.

  • Start a full service graph with one command
  • Per-service environment isolation (same variable, different values per service)
  • Dependency ordering — services start leaf-first, stop dependents-first
  • Prerequisite checks with actionable fix hints (Java version, PATH commands, env vars, ports, folders)
  • Live Rich terminal dashboard
  • Groups — declare the minimum set of services per development scenario
  • Survives restarts — reconciles live PIDs from .ldc/state.json

Install

pip install local-dev-composer

Quick start

If ldc is not recognised after install, see Installation for PATH setup options.

Create a composer.yml in your project root:

workspace:
  root: ./services

services:
  backend:
    repo: https://github.com/your-org/backend.git
    runtime: java
    install:
      command: mvn package -DskipTests -q
    start:
      command: java -jar target/backend.jar
    health_check:
      type: http
      url: http://localhost:8080/actuator/health

  frontend:
    repo: https://github.com/your-org/frontend.git
    runtime: node
    depends_on: [backend]
    install:
      command: npm install
    start:
      command: npm start
    health_check:
      type: http
      url: http://localhost:3000

See composer.example.yml for a full working example and Configuration for the complete schema reference.

Then:

ldc bootstrap                  # clone + install + start everything in one shot

Or step by step:

ldc doctor                     # check everything, get a numbered fix list
ldc clone                      # clone all repos
ldc check --fix                # verify and fix prerequisites
ldc install                    # run install commands
ldc up --group gateway-dev     # start minimum services for your task

Daily use

ldc up --group gateway-dev     # start what you need
ldc rebuild backend            # stop + reinstall + start after code changes
ldc restart gateway            # stop + start (no reinstall)
ldc status                     # service table with PIDs and health
ldc logs gateway -f            # follow a service log
ldc down                       # stop everything

See Commands for all commands and options.

Requirements

  • Python 3.9+
  • Git for Windows
  • Windows
  • No Docker, no WSL

Documentation

Full documentation is available on GitHub:

Source & contributing

https://github.com/sbugera/local-dev-composer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

local_dev_composer-0.2.1.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

local_dev_composer-0.2.1-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file local_dev_composer-0.2.1.tar.gz.

File metadata

  • Download URL: local_dev_composer-0.2.1.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for local_dev_composer-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9abf91dafc3914819aa18cbacee79aed3244360fce7866d9080f238ec9346ec1
MD5 c3ac57874830a29a18db79493f25a63c
BLAKE2b-256 2bf3b52ae42064ead181f700d79feac303040e7725d93489a0218c4478d23687

See more details on using hashes here.

File details

Details for the file local_dev_composer-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for local_dev_composer-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4df45917399bd6469bba078b47ecb1929562fd03f6032ed2b152eb49aa2f4abf
MD5 d1c0a1721eb6e5149ab159674563129f
BLAKE2b-256 98bec77005f5441e74624b407cb8c913bf941fd5adc6c922105882f3e0432b07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page