fix: document manual deployment requirement
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:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user