fix cross-process scenario switching and stale flights on scenario change
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user