MCPcopy
hub / github.com/learnhouse/learnhouse / dockerComposeUp

Function dockerComposeUp

apps/cli/src/services/docker.ts:29–35  ·  view source on GitHub ↗
(cwd: string, pull = false)

Source from the content-addressed store, hash-verified

27}
28
29export function dockerComposeUp(cwd: string, pull = false): void {
30 const cmd = pull ? 'docker compose up -d --pull always' : 'docker compose up -d'
31 execSync(cmd, {
32 cwd,
33 stdio: 'inherit',
34 })
35}
36
37export function dockerComposeDown(cwd: string): void {
38 execSync('docker compose down', {

Callers 7

startCommandFunction · 0.85
updateCommandFunction · 0.85
scaleResourcesFunction · 0.85
scaleCommandFunction · 0.85
envCommandFunction · 0.85
setupCommandFunction · 0.85
unit.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected