Skip to content

Commit 658fcc9

Browse files
author
Vitalii Kulyk
committed
fix: prevent script exit on container initialization error in run_inventory.sh
1 parent 3cf47a5 commit 658fcc9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev-demo/scripts/run_inventory.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
docker compose -p af-dev-demo -f inventory.yml up -d --build --remove-orphans --wait
1+
docker compose -p af-dev-demo -f inventory.yml up -d --build --remove-orphans --wait || true
2+
3+
# --wait expects all containers to be running & healthy, but we have *init-db which exists instantly causes bash script to exit with error code 1, that is why we have || true at the end of the command.

0 commit comments

Comments
 (0)