When we are using some shared networks and defining them as external
in compose, we need to manually create these networks with a docker command if they do not exist.
Since these networks are structured in a way that they have a central container and some user containers we can restructure the networks defining them native to the central container and external only in the user containers.
The affected networks are:
caddy
The caddy
network is used by two containers at the moment:
since the caddy container is the central one we can define the network inside it as caddy_default
and use it as external in the others.
notification
The notification
network is used by two containers at the moment:
since the notify container is the central one we can define the network inside it as notify_default
and use it as external in the others.