Skip to content

Commit 7806472

Browse files
committed
fix: Update stopAllSites function to use docker-compose down command
1 parent e7ef0f5 commit 7806472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/global.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func stopAllSites() {
158158
composePath := filepath.Join(path, "docker-compose.yml")
159159
if _, err := os.Stat(composePath); err == nil {
160160
fmt.Printf("Starting site in %s\n", path)
161-
docker.RunCompose(composePath, "up", "-d")
161+
docker.RunCompose(composePath, "down")
162162
foundSite = true
163163
}
164164
}

0 commit comments

Comments
 (0)