diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f3e893..5fd738a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,6 +69,10 @@ deploy:vps: echo "Stopping compose services..." docker-compose down --remove-orphans || true + # Prune unused Docker networks to avoid conflicts + echo "Cleaning up Docker networks..." + docker network prune -f || true + # Start services with new image echo "Starting services with new image..." docker-compose up -d