diff --git a/bouncer/bouncer b/bouncer/bouncer index fbca4ed..d43fe63 100755 --- a/bouncer/bouncer +++ b/bouncer/bouncer @@ -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();