Closed hancush closed 1 year ago
@hancush It looks like the change isn't working.
I think what's going on is that the we're trying to remove the network named for the current deployment before the network has been created.
What about running docker network prune --force
to remove the unused networks from the previous deployment(s)?
Done and deployed.
Docker networks can build up and prevent the creation of additional containers. Let's update our deploy script, which stops and removes the previous Solr container, to also remove the associated Docker network.
https://github.com/Metro-Records/la-metro-councilmatic/blob/8848bfb42e26881a8c525aca393d14e828aea49e/scripts/app_start.sh#L66-L73