Created
March 6, 2017 09:39
-
-
Save nasermirzaei89/5a1e8184dd7853b75c6664943d877c47 to your computer and use it in GitHub Desktop.
Check Docker Compose Validation
This file contains 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
#@IgnoreInspection BashAddShebang | |
check-docker-compose: | |
docker-compose -f docker-compose.yml config | |
reformat-docker-compose: check-docker-compose | |
docker-compose -f docker-compose.yml config > docker-compose.yml.tmp | |
mv docker-compose.yml.tmp docker-compose.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment