fix: open dev port to all interfaces and run smoke tests via docker exec
Deploy Dashboard (Dev) / Frontend Tests (push) Successful in 50s
Deploy Dashboard (Dev) / Deploy to Dev (push) Successful in 4m16s
Deploy Dashboard (Dev) / Backend Tests (push) Successful in 8m14s

- Change port binding from 127.0.0.1:4001:4000 to 4001:4000 so CI containers
  can reach the dashboard from any network namespace
- Run smoke tests via docker exec against localhost:4000 instead of curling
  the external hostname, which resolves to the Caddy VPS and times out

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-05-17 20:53:26 +08:00
parent cf1de9c631
commit deb049c889
2 changed files with 39 additions and 8 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ services:
container_name: nas-dashboard-dev
restart: unless-stopped
ports:
- "127.0.0.1:4001:4000"
- "4001:4000"
environment:
- DOCKER_HOST=tcp://docker-socket-proxy:2375
- GITEA_URL=http://gitea:3000