Skip to content

Commit

Permalink
wait for volume bind (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 authored Nov 14, 2024
1 parent 493cf43 commit 8150272
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ services:
image: "babylonlabs-io/babylond"
container_name: master-node
user: root # run as root as we need to install some packages in init scripts
# we need to sleep because docker needs time to bind a big volume
command: >
bash -c "
sleep 5 &&
bash /scripts/init_master.sh &&
babylond --home /root/.babylond start --x-crisis-skip-assert-invariants --log_format 'plain' 2>&1 | tee /root/.babylond/babylond.log
"
Expand Down

0 comments on commit 8150272

Please sign in to comment.