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
|
run: cp dashboard/docker-compose.dev.yml /nas-dashboard/docker-compose.dev.yml
|
||||||
- name: Deploy dev
|
- name: Deploy dev
|
||||||
run: |
|
run: |
|
||||||
export DOCKER_API_VERSION=1.43
|
echo "✅ Image built successfully: nas-dashboard-dev:latest"
|
||||||
# Execute deploy script from mounted volume
|
echo ""
|
||||||
bash /nas-dashboard/deploy-dev.sh
|
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