Skip to content

Commit

Permalink
Merge pull request #7 from aurora-is-near/no-deps
Browse files Browse the repository at this point in the history
Do not restart dependencies, such as redis + cleanup
  • Loading branch information
spilin authored Dec 19, 2024
2 parents deb5a4b + 4664f2b commit e84af9f
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 e84af9f

Please sign in to comment.