fix cross-process scenario switching and stale flights on scenario change
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2026-04-16 01:42:10 -03:00
parent 22c924d3b0
commit e03ac3982a
5 changed files with 13 additions and 9 deletions

View File

@@ -22,9 +22,10 @@ case "${1:-rsync}" in
echo "=== Building and restarting on server ==="
ssh "$SERVER" << 'EOF'
cd ~/unt
docker build -t nova-api -f ctrl/Dockerfile.api .
docker build -t nova-ui -f ctrl/Dockerfile.ui .
docker build -t registry.mcrn.ar/unt/api:latest -f ctrl/Dockerfile.api .
docker build -t registry.mcrn.ar/unt/ui:latest -f ctrl/Dockerfile.ui .
cd ctrl/edge
[ -f .env ] || cp .env.example .env
docker compose up -d --remove-orphans
docker image prune -f
docker compose ps

View File

@@ -1,5 +1,5 @@
services:
nova-api:
api:
image: registry.mcrn.ar/unt/api:latest
container_name: nova-api
restart: unless-stopped
@@ -12,7 +12,7 @@ services:
container_name: nova-ui
restart: unless-stopped
depends_on:
- nova-api
- api
networks:
- gateway