fix: document manual deployment requirement
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 3m32s
Run Tests / Backend Tests (push) Failing after 1m24s
Run Tests / Frontend Tests (push) Failing after 4m49s
Run Tests / Test Summary (push) Failing after 6m42s

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
This commit is contained in:
Gan, Jimmy
2026-04-04 02:39:50 +08:00
parent 0710b56feb
commit 2a8af8feea
+5 -3
View File
@@ -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'"