Last active
November 17, 2021 22:39
-
-
Save MartyLake/7db15d758717647ccd94fdb939fcf0da to your computer and use it in GitHub Desktop.
docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check if all docker-compose containers are properly running | |
bash -c "(diff <(cd /srv && /usr/bin/local/docker-compose ps --services --filter "status=running") <(cd /srv && /usr/bin/local/docker-compose ps --services) || /usr/bin/local/docker-compose up -d) >> /var/log/crontab-root-dbg.log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment