MCPcopy Index your code
hub / github.com/cameri/nostream / runDockerCompose

Function runDockerCompose

src/cli/utils/docker.ts:29–32  ·  view source on GitHub ↗
({ files, args, env }: ComposeOptions)

Source from the content-addressed store, hash-verified

27}
28
29export const runDockerCompose = async ({ files, args, env }: ComposeOptions): Promise<number> => {
30 const composeArgs = buildComposeArgs(files, args)
31 return runCommand('docker', ['compose', ...composeArgs], { env })
32}
33
34export const createPortOverrideComposeFile = (port: number): string => {
35 const tempFile = join(os.tmpdir(), `nostream-port-override-${process.pid}-${Date.now()}.yml`)

Callers 2

runStartFunction · 0.90
runStopFunction · 0.90

Calls 2

runCommandFunction · 0.90
buildComposeArgsFunction · 0.85

Tested by

no test coverage detected