Don't ignore containers that are running locally and not in swarm mode just because swarm mode is enabled!
This commit is contained in:
parent
9d437e266f
commit
2b5c8b12d8
1 changed files with 5 additions and 1 deletions
|
|
@ -611,7 +611,11 @@ class Bouncer
|
|||
}
|
||||
|
||||
$this->logger->info(sprintf('%s Swarm mode is %s.', Emoji::CHARACTER_HONEYBEE, $this->isSwarmMode() ? 'enabled' : 'disabled'));
|
||||
$targets = $this->isSwarmMode() ? $this->findContainersSwarmMode() : $this->findContainersContainerMode();
|
||||
|
||||
$targets = array_merge(
|
||||
$this->findContainersContainerMode(),
|
||||
$this->isSwarmMode() ? $this->findContainersSwarmMode() : []
|
||||
);
|
||||
|
||||
$this->wipeNginxConfig();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue