Setting up a project

To setup a project for conductor you need to create a conductor.yaml somewhere in your project tree. We will assume you have a stack that consists of 2 seperate components in a directory structure that looks like this:

/project
    /frontend/
    /backend/
    /support_service/

Settting up a conductor.yml

Conductor will search for a conductor.yaml anywhere in or above the current working directory. We will put the configuration in the root /project/ folder so it is accessible from any of the component projects.

For more information see the full Config documentation

An example of a configuration file could look like this:

groups:
  dev:
    components:
    - frontend
    - backend
    - support
components:
  frontend:
    env:
      API_URL: http://localhost:4000
    comamnd: npm start
  backend:
    env:
      DATABSE_URL: mysql://devserver/app-dev
      HTTP_PORT: 4000
    command: cargo run
  support:
    command: python main.py

Now from the project folder or any folder below it we can launch all 3 components using:

conductor dev

Running a single component:

conductor backend

Running multiple specific components:

conductor frnotend backend
last modified Saturday, September 10, 2022
Configuration File Reference
Conductor config file reference
Conductor is maintained by 5Sigma. Source code is available at Github.