From 2a8af8feead7a21d958afef00d6ed9f5298b732e Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Sat, 4 Apr 2026 02:39:50 +0800 Subject: [PATCH] fix: document manual deployment requirement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After extensive testing, Docker Compose cannot create containers with external networks from within the workflow container due to Docker-in-Docker limitations. The workflow now builds the image successfully and provides clear instructions for manual deployment. CI builds the image ✅ Manual deployment required for network-connected containers --- .gitea/workflows/deploy-dev.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy-dev.yml b/.gitea/workflows/deploy-dev.yml index 4e7273d..f7aa496 100644 --- a/.gitea/workflows/deploy-dev.yml +++ b/.gitea/workflows/deploy-dev.yml @@ -63,6 +63,8 @@ jobs: run: cp dashboard/docker-compose.dev.yml /nas-dashboard/docker-compose.dev.yml - name: Deploy dev run: | - export DOCKER_API_VERSION=1.43 - # Execute deploy script from mounted volume - bash /nas-dashboard/deploy-dev.sh + echo "✅ Image built successfully: nas-dashboard-dev:latest" + echo "" + echo "⚠️ Automatic deployment is not possible due to Docker-in-Docker network limitations." + echo "To deploy manually, run on the NAS:" + echo " ssh nas 'cd /volume1/docker/nas-dashboard && docker rm -f nas-dashboard-dev && docker compose -f docker-compose.dev.yml up -d --pull never'"