🎻 Conductor#20
Conversation
| scoreDev: | ||
| PROFILE=scoreDev docker compose --profile scoreDev up --attach conductor | ||
|
|
||
| down: |
There was a problem hiding this comment.
lazy question: does this work for all of the above? hoping the answer is yes, otherwise we'll need to rename it "platform down", and add "up" to all others (possibly with their own downs) or just remove this one to keep things consistent.
There was a problem hiding this comment.
yeah, it does, and I was happy to figure out it did, it's super convenient
There was a problem hiding this comment.
is this file's indentation on purpose? doesn't seem to match that of other files
There was a problem hiding this comment.
looks like a typo will update
| # Orchestrates setup with health checks, data population and logging | ||
| # -------------------------------------- | ||
| conductor: | ||
| profiles: ["platform", "songDev", "scoreDev", "maestroDev", "arrangerDev", "stageDev"] |
There was a problem hiding this comment.
not acquainted with this "profiles" property. will have to do some reading on it to provide informed feedback, but it seems redundant with its namesake env variable, so there must be a means to do away with one of them
There was a problem hiding this comment.
the ENV profile is passed to conductor for the bash script, the other profiles are docker specific, tagged in the compose on each image and are used with the docker compose --profile option (docker compose --profile {{profile}} up --attach conductor)
There was a problem hiding this comment.
I'd love to have them as one, but I could not find a viable way to pass a docker profile into the container for the bash script
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
justincorrigible
left a comment
There was a problem hiding this comment.
le wow! squash and ship it! ![]()
(after adding that missing empty line)
Co-authored-by: Anders Richardsson <2107110+justincorrigible@users.noreply.github.com>
Conductor
Responsible for directing the performance of musicians or a piece of music, esp. by an orchestra
Important
This update is part of a larger documentation update outlined here. We will be changing the name of the repository from Composer to Conductor this will more accurately reflect the its form and function. The Conductor website branch should be merged and deployed immediately following
Rollout Steps
To clarify the above note:
Summary
Conductor is a flexible Docker Compose setup that simplifies the process of spinning up Overture development and deployment configurations using Docker profiles and extensible scripting events.
Conductor carries out ordered scripts based on the
PROFILEenvironment passed to it/conductorScripts/services/directory`PROFILEselected the conductor will run a broader deployment script found in the/conductorScripts/deployments/directory, these just call the needed serviceScripts for the given profile in the required order. They also contain talored logs for startup, success, and next steps for the given deployment.One drawback of this is the verbose nature of the commands when having to pass a profile to docker and an env to conductor (
PROFILE=platform docker compose --profile platform up --attach conductor)make platform)Getting Started
1. Clone the repo branch
2. Run one of the following commands to spin up different environments:
make platformmake.bat platformmake stageDevmake.bat stageDevmake arrangerDevmake.bat arrangerDevmake maestroDevmake.bat maestroDevmake songDevmake.bat songDevmake scoreDevmake.bat scoreDevEach command spins up complementary services for the specified development environment.
Detailed information can be found on the new docs site here