Rather than waiting 5 seconds and hoping for the best after we boot docker compose, add docker healthchecks and wait for all the containers to be healthy.
8 lines
80 B
Bash
Executable File
8 lines
80 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cp -r * /shared
|
|
|
|
trap "pkill -f sleep" term
|
|
|
|
sleep infinity & wait
|