mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-10-24 04:14:27 +00:00
fix: use docker compose down (not stop) to properly tear down staging
stop leaves the container/network in place, blocking port rebind. down removes everything cleanly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
424e4675ae
commit
c271093795
1 file changed
+2
-5
@@ -260,12 +260,9 @@ jobs:
|
||||
|
||||
- name: Stop old containers
|
||||
run: |
|
||||
docker compose --profile staging-go down 2>/dev/null || true
|
||||
# Kill legacy container names from pre-rename era
|
||||
docker rm -f meshcore-staging meshcore-staging-go 2>/dev/null || true
|
||||
# Kill current container names
|
||||
docker compose --profile staging-go stop staging-go 2>/dev/null || true
|
||||
docker rm -f corescope-staging-go corescope-staging 2>/dev/null || true
|
||||
fuser -k 82/tcp 2>/dev/null || true
|
||||
docker rm -f meshcore-staging meshcore-staging-go corescope-staging 2>/dev/null || true
|
||||
sleep 2
|
||||
|
||||
- name: Start staging on port 82
|
||||
|
||||
Reference in new issue
Block a user