fix: revert to original working deploy approach
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 10m54s
Run Tests / Backend Tests (push) Failing after 4m18s
Run Tests / Frontend Tests (push) Failing after 7m49s
Run Tests / Test Summary (push) Failing after 1m0s

The 'name: nas-dashboard-dev' field added in commit a88f5b9 broke
auto-deployment by causing Docker Compose network connection errors.

Reverting to the original working approach:
- Remove 'name:' field from docker-compose.dev.yml
- Use simple 'docker compose up -d --pull never'

This worked for months before the recent changes.
This commit is contained in:
Gan, Jimmy
2026-04-04 08:35:04 +08:00
parent 2a8af8feea
commit 80c964db3f
2 changed files with 2 additions and 7 deletions
+2 -5
View File
@@ -63,8 +63,5 @@ jobs:
run: cp dashboard/docker-compose.dev.yml /nas-dashboard/docker-compose.dev.yml
- name: Deploy dev
run: |
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'"
export DOCKER_API_VERSION=1.43
docker compose -f /nas-dashboard/docker-compose.dev.yml up -d --pull never
-2
View File
@@ -1,5 +1,3 @@
name: nas-dashboard-dev
services:
dashboard-dev:
image: nas-dashboard-dev:latest