diff --git a/src/compose/service.ts b/src/compose/service.ts index 5b500f5c..6c0325f9 100644 --- a/src/compose/service.ts +++ b/src/compose/service.ts @@ -742,6 +742,15 @@ export class Service { } sameNetworks = sameNetworks && this.isSameNetwork(this.config.networks[name], network); + if (!sameNetworks) { + const currentNetwork = this.config.networks[name]; + const newNetwork = network; + log.debug( + `Networks do not match!\nCurrent network: \n${JSON.stringify( + currentNetwork, + )}\nNew network: \n${JSON.stringify(newNetwork)}`, + ); + } }); // Check the configuration for any changes