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.3.0.tar.gz (40.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.3.0-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for local_dev_composer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 25cde6f56c7534ee74425ed73dbb9aca2ba5a28f5b03d944330a73d8fcb12493
MD5 ce8488575395fc7dbea97fcf6b2f5fd8
BLAKE2b-256 baa6ce387108251db91976674ef82c40598c565d60e889fdc57d5b51785a2fd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for local_dev_composer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce13135786d2b248423730b5bd053cdb01d9afc426ff2040371f9592e4f4b6ef
MD5 4c8f663c498e3df0b79dba324c20f109
BLAKE2b-256 50efe4370174288c4a2e50d0775a9389c3d389ba13a56051d605ee21d797963e

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