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.2.tar.gz (32.5 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.2-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: local_dev_composer-0.2.2.tar.gz
  • Upload date:
  • Size: 32.5 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.2.tar.gz
Algorithm Hash digest
SHA256 8c781349ee49844c73f961f4c7eeba657f1af3856bccfc0b315ca166865ff422
MD5 d9d3acf0b72b54a09e3c3f6eea29e168
BLAKE2b-256 b68f6e3b75e5286cc99cf8338569ccafe45403b82bdd32f890e7fd0ba7b054ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for local_dev_composer-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ae4172887ca74ede5878f522642ecf000bef529c9eda3ad56232ab9c732aa390
MD5 e096cf5523a3078ab34d4be57e22845d
BLAKE2b-256 8e8ee716bea35db33aa97ac24ed54084e565087192807be1c67a297e5e588d82

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