Corregge ordine deploy: edge e Rails vanno avviati insieme.

Evita conflitto sulla porta 3000 quando si sposta il bind da Rails al proxy di cortesia.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-13 09:34:54 +02:00
parent 949a0a01fb
commit e1636139a9

View File

@@ -69,11 +69,8 @@ else
compose run --rm --no-deps rails bundle exec rails db:prepare compose run --rm --no-deps rails bundle exec rails db:prepare
fi fi
echo "==> Proxy edge (pagina di cortesia su :3000)" echo "==> Proxy edge + deploy Rails (sposta :3000 su edge)"
compose up -d edge compose up -d --no-deps --build edge rails
echo "==> Deploy Rails"
compose up -d --no-deps --build rails
wait_for_rails wait_for_rails
echo "==> Deploy Sidekiq" echo "==> Deploy Sidekiq"