Skip to content

Commit

Permalink
Do not restart dependencies, such as redis + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
spilin committed Dec 19, 2024
1 parent deb5a4b commit 4664f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (d *Docker) RecreateContainers(containers []Container) error {
errMessage: "Error stopping and removing containers",
},
{
args: append([]string{"compose", "-f", pathToDockerCompose, "up", "-d", "--force-recreate"}, serviceNames...),
args: append([]string{"compose", "-f", pathToDockerCompose, "up", "-d", "--force-recreate", "--remove-orphans", "--no-deps"}, serviceNames...),
desc: "Recreating containers",
errMessage: "Error recreating containers",
},
Expand Down

0 comments on commit 4664f2b

Please sign in to comment.